[BusyBox] sed, ash and LINENO

Glenn McGrath bug1 at optushome.com.au
Mon Jan 13 17:15:05 UTC 2003


I would like to be able to use busybox to run autoconf configure
scripts.

The only applet that doesnt work is sed as autoconf needs branching and
translation.

It would be good to fix bb sed to implement these features, translation
may not be too hard, but branching is more complex.

In an attempt to push the problem onto someone else (vodz;) i notice
that autoconf seems to only need branching when the LINENO environment
variable isnt suported.

LINENO environment variable is specified in SUSv2.
http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html

However no version of ash appear to support LINEO as demonstrated by
script at
http://www.gnu.org/manual/autoconf-2.53/html_node/Special-Shell-Variables.html

What do you think vodz, would it be hard to add LINENO support to bb ash
?


Glenn



More information about the busybox mailing list