[BusyBox] sed questions.

ssrat at mailbag.com ssrat at mailbag.com
Fri Feb 2 21:14:45 UTC 2001


On 2 Feb 2001, at 16:43, Richard June wrote:

> Could you perhaps repeat that?

I (and Matt Kraai) said this:

echo HELLO | sed 's/LL/\
/'

You said:

echo HELLO | sed 's/LL/\n/g'

Those are NOT the same....

Try the first and it'll work.  You don't need "g" on the end; that's a 
carryover from vi (which needs it often).

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
n9ubh at callsign.net





More information about the busybox mailing list