From c06d38a2e8b2518f26dee5b57d70f41bb51f7e58 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 14 Jun 2013 12:48:01 -0400 Subject: aggressive sed --- software/unix-tricks.page | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'software') 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 + -- cgit v1.2.3