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 01:10:21 +0100
baslinux AT lists.ibiblio.org skrev:
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"?
I did. This complaint about duplicate label I think is a bug, since there is only one label.
--
// Mikael Bonnier
----
// Web: http://www.df.lth.se/~mikaelb/
// E-mail/MSN: mikaelb AT df.lth.se
// ICQ # 114635318
// Mob/SMS/MMS: +46730307498
// Phone: +4646323208
// Skype: mikael4u
// PeerCall: 700-100-2180
-
[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.