summaryrefslogtreecommitdiff
path: root/bin/rgr
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-04 18:12:54 -0700
committerNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-17 10:47:48 -0700
commit6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch)
tree0cf7b1d160d0671eeacb66004433b63572b96ebd /bin/rgr
Initial commit
Diffstat (limited to 'bin/rgr')
-rwxr-xr-xbin/rgr3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/rgr b/bin/rgr
new file mode 100755
index 0000000..a7cd7c0
--- /dev/null
+++ b/bin/rgr
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+rg $1 --files-with-matches -0 | xargs -0 gsed -i "s/$1/$2/g"