Which entry point in hush can be made non-static to be reused? Is there a separate function which composes (argc,argv) from a text line? Maybe someone has the answer?
Thanks in advance. -- Vladimir 2008/2/10, Denys Vlasenko <[EMAIL PROTECTED]>: > On Sunday 10 February 2008 20:19, [EMAIL PROTECTED] wrote: > > I started to develop BB chat applet. It will be a stripped down version > > of fameous utility from ppp. > > > > Chat scripts can be specified either via command line or via a script > files. > > The latter case requires parsing, quote processing and environment > substitutions. > > This task has been solved well zillion times by BB shells. So I want to > know > > how existing code from shells can be reused. I want script files to be > parsed > > to argv[] so as if they were given explicitly via command file. > > > > Could you provide me with some kludge? > > ash: too big to understand > hush: seems to be the least confusing (but it is still complex) > lash: dead (had too many bugs) > msh: don't know > -- > vda > _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
