summaryrefslogtreecommitdiff
path: root/bin/rgr
diff options
context:
space:
mode:
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"