Sed

From Linuxintro
Revision as of 09:51, 28 April 2009 by imported>ThorstenStaerk

sed: Replace strings

sed -e "s/cgi?\([0-9][0-9]*\)/cgi@\1.html/g" myfile.html > index.html

See also