Skip to content

Instantly share code, notes, and snippets.

NightMachinary

Block or report user

Report or block NightMachinary

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@NightMachinary
NightMachinary / areplace.sh
Last active Oct 1, 2019 — forked from hlissner/replace.sh
Bulk search & replace with ag (the_silver_searcher)
View areplace.sh
# ag <https://github.com/ggreer/the_silver_searcher>
# from=str1 to=sth agr path1 path2 ...
# backs up to .pbak
comment() {
}
doc() {
}
function agr {
doc 'usage: from=sth to=another agr [ag-args]'
You can’t perform that action at this time.