Brian Somers <[EMAIL PROTECTED]> wrote:
>> If I'm not mistaken, the size of the environment is already
>> taken into account by the xargs utility (subtracted from
>> ARG_MAX). So this isn't an issue at all.
> Unless xargs runs a command with lots of arguments and that command
> increases the environment size then tries to run another command with
> the same arguments - bang (E2BIG).
True, but that's certainly not xarg's fault (and
it cannot be fixed in the scope of xargs). xargs
has no way to know if the command will enlarge its
environment, and by what amount. In such a case
it's probably up to the script writer to chose a
sensible value for xargs -s <n>.
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message