Re: [wmii] Problem with sed in wmii's Makefile

From: Uriel <lost.goblin_AT_gmail.com>
Date: Thu, 4 Jan 2007 12:52:46 +0100

As I told denis already, the most idiomatic and portable way to do
this is to use multiple -e args.

uriel

On 1/4/07, Stefan Tibus <sjti_AT_gmx.net> wrote:
> On Wed, 3 Jan 2007 18:34:31 +0100 Denis Grelich wrote:
> > Hm, just noticed that the commas are also used in the wmiirc. Are there
> > issues as well?
>
> No, actually I found that the problem is not about
> the commas, but about one space:
> $ sed 's/VERSION/3.5.1/g ; s,CONFPREFIX,/bla/,g' < wmii.1 > bla
> sed: command garbled: s/VERSION/3.5.1/g ; s,CONFPREFIX,/bla/,g
> $ sed 's/VERSION/3.5.1/g; s,CONFPREFIX,/bla/,g' < wmii.1 > bla
> $
>
> Anyways, the use of "|" in the patch is as elsewhere
> in the Makefile and doesn't hurt.
>
> Regards,
> Stefan
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
>
Received on Thu Jan 04 2007 - 12:52:47 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:17:44 UTC