Skip to Content.
Sympa Menu

baslinux - Re: [BL] bash help; changing case of file names, hyperlinks

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] bash help; changing case of file names, hyperlinks
  • Date: Sun, 25 Feb 2007 17:52:14 +0000 (UTC)

On Mon, 26 Feb 2007 3aoo-cvfd AT dea.spamcon.org wrote:

sindi keesan wrote:

cat testfile | sed /hello/goodbye/ > testfile3
sed: Unsupported command o
I get an empty file.

Where did I go wrong?

You forgot the s (for substitute):
-----------------------------------------------
cat testfile | sed s/hello/goodbye/ > testfile3
-----------------------------------------------

I figured that out eventually but it was not mentioned by the list member who first posted the suggestion. I should test things immediately.

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page