Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] sed expert

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Woolley <swoolley AT panasas.com>
  • To: Treeve Jelbert <treeve AT scarlet.be>
  • Cc: SM Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] sed expert
  • Date: Tue, 02 May 2006 13:29:53 -0700

Treeve,

change the \ to be:
sed 's|:version|2.9.05d|g; '\
's|:sysconfdir|/etc|g; '

sed doesn't usually grok the newlines well, so you continuation them in bash instead of sed so that bash converts them to a normalized whitespace. At least, that works for me.

Seth

--
Seth Alan Woolley
Software Engineer
Accelerating Time to Results(TM) with Clustered Storage

www.panasas.com
swoolley AT panasas.com
510-608-4382




Archive powered by MHonArc 2.6.24.

Top of Page