[SM-Discuss] sed expert
lynx at mages.ath.cx
Wed May 3 07:22:51 EDT 2006
On Tuesday 02 May 2006 22:29, Seth Woolley wrote:
> 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.
For me, it also requires the addition of -e for each expression:
sed -e 's|:version|2.9.05d|g; '\
-e 's|:sysconfdir|/etc|g; '
We cannot command nature except by obeying her. --Sir Francis Bacon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 307 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20060503/ece53bfa/attachment.bin
More information about the SM-Discuss