freebsd-src/usr.bin/xargs
Brian Somers c42584e853 o The -s limit is ARG_MAX - 4K, not ARG_MAX - 2K.
o Mention that the current environment is part of the -s calculation.
o Add a BUGS section that warns against executing a program that increases
  the size of the argument list or the size of the environment.

  I have wondered for a while what the difference is between

    get a big list | xargs sudo command

  which fails and

    get a big list | sudo xargs command

  which succeeds.  The answer is that in the first case, sudo expands
  the environment and pushes the amount of data passed into execve over
  the E2BIG threshold.
2001-04-10 23:16:55 +00:00
..
Makefile
pathnames.h
xargs.1 o The -s limit is ARG_MAX - 4K, not ARG_MAX - 2K. 2001-04-10 23:16:55 +00:00
xargs.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00