Search & Replace Issue

DeepTech deeptech147 at hotpop.com
Sun Dec 24 02:48:06 PST 2006


OK, specifically,

sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm > *.htm

The sed command processes files with some regexp stuff,
this command removes the http://www.domain.htm/ from htms.
NOTE: not sure if u have to use a '\' before that ':'



More information about the freebsd-questions mailing list