misc bb_getopt_ulflags() questions

Vladimir N. Oleynik dzo at simtreas.ru
Tue Feb 21 09:41:49 UTC 2006


Mike,

> finally, and the reason i'm actually writing this e-mail, is there a way to 
> get bb_getopt_ulflags() to stop processing as soon as it encounters a 
> non-option ?  i want to support this syntax:
> applet [applet options] program_to_exec [program options]
> because forcing the user to add a "--" before program_to_exec is wrong

Hmm. See
1) man getopt (GNU version)
2) "xargs" or "env" applets for example


--w
vodz



More information about the busybox mailing list