[BusyBox] More wandering through busybox sed source...

Rob Landley rob at landley.net
Sat Sep 13 23:35:51 UTC 2003


parse_subst_cmd is a touch wonky.  Specifically the bit about trailing 
whitespace after s/// is ok (around like 300 or so).

This leads to:

[landley at localhost busybox-1.00-pre3]$ sed 's/c/q/ s/d/l/' < ../strings
sed: -e expression #1, char 8: Unknown option to `s'
[landley at localhost busybox-1.00-pre3]$ ./busybox sed 's/c/q/ s/d/l/' < 
../strings
a
b
q
l
e
f
g
[landley at localhost busybox-1.00-pre3]$

Probably doesn't hurt anything, just letting people know...

Rob



More information about the busybox mailing list