[BusyBox] Problems with xargs !!!

Steven Scholz steven.scholz at imc-berlin.de
Mon Mar 31 08:33:03 UTC 2003


> (...)
> 
>>>"--" denotes the end of parameters for xargs.
>>
>>Is that a busybox thing? Or is it some standard?
> 
> 
> That's a standard; see
> 	http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap12.html#tag_12_02

Ok. Thanks!

But would it be hard to change busybox's xargs to behave like xargs on other 
(let's say MY) machine!?

So while parsing the command line just treat everything after (and including) 
the first argument without a "-" as the [command [initial-arguments]] as 
stated in xargs' man page.

~# find . -name rc.sh | xargs -t egrep -n "ipcal"
                                |   |    |
                                |   |    +- initial-arguments
                                |   +------ command (no "-")
                                +---------- xargs argument

Steven






More information about the busybox mailing list