RE: OT: sed usage (was Re: Search Replace Issue)

2006-12-25 Thread Jack Stone
From: Parv [EMAIL PROTECTED] To: DeepTech [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: OT: sed usage (was Re: Search Replace Issue) Date: Mon, 25 Dec 2006 00:04:47 -0500 in message [EMAIL PROTECTED], wrote DeepTech thusly... sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm

OT: sed usage (was Re: Search Replace Issue)

2006-12-24 Thread Parv
in message [EMAIL PROTECTED], wrote DeepTech thusly... sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm *.htm That will most likely destroy the original file(s). Depending on your shell, you will get redirection error from the shell if there happen to be more than one file matching the