[BusyBox] sed questions.
Richard June
rjune at imagestream-is.com
Fri Feb 2 21:27:25 UTC 2001
ssrat at mailbag.com wrote:
> 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).
>
Yup, it works. that's a goofy way to do it though, what are the odds
of \n actually being honored as an escape sequence?
More information about the busybox
mailing list