summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2013-06-14 12:48:01 -0400
committerbnewbold <bnewbold@robocracy.org>2013-06-14 12:49:24 -0400
commitc06d38a2e8b2518f26dee5b57d70f41bb51f7e58 (patch)
treeeb3702e04bf6ca58d7cedc91c8884c02acf8c79c /software
parent36543614e1b9d7dfb7f346eac9e883ee5c01e841 (diff)
downloadknowledge-c06d38a2e8b2518f26dee5b57d70f41bb51f7e58.tar.gz
knowledge-c06d38a2e8b2518f26dee5b57d70f41bb51f7e58.zip
aggressive sed
Diffstat (limited to 'software')
-rw-r--r--software/unix-tricks.page6
1 files changed, 6 insertions, 0 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index d175133..26d6877 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -83,3 +83,9 @@ Or:
losetup /dev/loop0 distro.img
mount /dev/loop0 /mnt
+Search and Replace String in Multiple Files
+---------------------------------------------
+Using sed:
+
+ sed -i 's/OldString/NewString/g' *.txt
+