baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: baslinux AT lists.ibiblio.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] Which sed?
- Date: Tue, 27 Nov 2007 11:49:12 +1300
Message from Steven
===================
Mikael wrote:
>
> I have tried to use sed (Stream Editor) in BL3.50 but
> get strange errors. E.g.
> ps -A | sed ':a;N;$!ba;s/\n//g'
> doesn't do anything visible (it should remove newlines).
>
> This doesn't work on sed in BL3.50:
> ps -A | sed -e ':a' -e N -e '$!ba' -e 's/\n//g'
> One gets the error: 'sed: duplicate label :a'
Did you read "man sed"?
Cheers,
Steven
-
[BL] Which sed?,
baslinux, 11/26/2007
-
Re: [BL] Which sed?,
baslinux, 11/26/2007
-
Re: [BL] Which sed?,
baslinux, 11/26/2007
- Re: [BL] Which sed?, baslinux, 11/26/2007
-
Re: [BL] Which sed?,
baslinux, 11/26/2007
-
Re: [BL] Which sed?,
baslinux, 11/26/2007
- Re: [BL] Which sed?, baslinux, 11/26/2007
-
Re: [BL] Which sed?,
baslinux, 11/26/2007
Archive powered by MHonArc 2.6.24.