Find and replace
chino at antennex.com
chino at antennex.com
Thu Sep 24 15:26:36 UTC 2015
Am running FBSD-9.3 and apache-24
I need to find and replace several strings with "nothing" (not the word but a blank) and I cannot recall how to handle the syntax for the "new" portion if using sed as below. In other words, I want the *.html file to NOT display the graphic with the same pix.gif file name now there in about 1000 HTML files.
This script: sed -i.bak s/old/new/g fileLike this:#find, etc | sed -i.bak s/pix.gif//g fileThanks in advance for any help!
Warmest regards,
Mark Chino
--
chino at antennex.com
www.antennex.com
More information about the freebsd-questions
mailing list