[klibc] DASH in klibc

Herbert Xu herbert at gondor.apana.org.au
Sat Nov 5 22:55:36 PST 2005

On Sat, Nov 05, 2005 at 03:50:41PM -0800, H. Peter Anvin wrote:
> Herbert Xu wrote:
> >
> >There is still room for reduction as you can remove printf from either
> >utils/ or dash/.  IMHO it should be removed from utils/ since dash's
> >echo is simply a wrapper around printf.
> >
> So why should it go into the shell?

I presume you are always going to have the shell in a klibc setup?
If that's not the case then printf should stay in utils.

If you put it in the shell it ends up being smaller since otherwise
you'll need a non-trivial implementation of echo that interprets
escape codes.

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

More information about the klibc mailing list