Well, that command speaks for itself "
sed" edits "
-i in place ( on the spot ) and replaces the word "
ugly with "
beautiful" in the file "
/home/bruno/old-friends/sue.txt"
Now, here comes the real magic:
Imagine you have a whole lot of files in a directory ( all about Sue ) and you want the same command to do all those files in one go because she/he is standing right at the door . .
Remember the
find command ? We will combine the two:
But it leaves "traces", e.g it backs up the old file with a .save extension . . . so is not really effective when Sue comes around ;-/

Bruno
-- Jan 4 2005 ( Revised Dec 10 2005 ) --