[wplug] need help with command

Brian Medley bpm-list-wplug at 4321.tv
Thu Sep 11 17:31:38 EDT 2003


On Thu, Sep 11, 2003 at 02:11:45PM -0700, Bob Schmertz wrote:

> >Actually, no, it shouldn't because xargs is still getting a rather long
> >list of arguments, the limit of which is defined by the shell.
> >
> 
> While it's convenient to think of the process as taking the output from
> the previous command and sticking it all at the end as arguments, that's
> really not what it's doing.  xargs reads the "arguments" from standard
> input, not from the shell command line.  Thus the shell plays no role
> beyond what you typed on the command line, except possibly in the
> execution of individual commands that xargs builds up.

In addition, something to think about is that the command executed by xargs
is also limited to values defined by the system.  For example:

/usr/include/linux/limits.h
#define ARG_MAX       131072    /* # bytes of args + environ for exec() */

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                                               @~./'O o`\.~@
               "Knowledge is Power"           /__( \___/ )__\  *PPPFFBT!*
                  -- Francis Bacon               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`



More information about the wplug mailing list