diff options
author | bnewbold <bnewbold@robocracy.org> | 2013-06-14 12:48:01 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2013-06-14 12:49:24 -0400 |
commit | c06d38a2e8b2518f26dee5b57d70f41bb51f7e58 (patch) | |
tree | eb3702e04bf6ca58d7cedc91c8884c02acf8c79c | |
parent | 36543614e1b9d7dfb7f346eac9e883ee5c01e841 (diff) | |
download | knowledge-c06d38a2e8b2518f26dee5b57d70f41bb51f7e58.tar.gz knowledge-c06d38a2e8b2518f26dee5b57d70f41bb51f7e58.zip |
aggressive sed
-rw-r--r-- | software/unix-tricks.page | 6 |
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 + |