فهرست منبع

Add find-replace.sh script.

Lauri Ojansivu 5 سال پیش
والد
کامیت
bda49ed609
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      find-replace.sh

+ 5 - 0
find-replace.sh

@@ -0,0 +1,5 @@
+
+# Recursive find/replace.
+# Syntax: ./find-replace.sh searchtext replacetext
+
+egrep -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g'