Re:What's the one Linux command you wish you knew years ago?
by pyre on Sunday November 20, 2011 @05:33AM
(#3257810)
xargs can still run you into the 'too many args' issue. You'll want to use this:
[ Parent
| on HN ]
Re:What's the one Linux command you wish you knew years ago?
by cperciva on Sunday November 20, 2011 @06:39AM
(#3257892)
Only if there's a bug in your xargs. POSIX states:
The xargs utility shall limit the command line length such that when the command line is invoked, the combined argument and environment lists (see the exec family of functions in the System Interfaces volume of POSIX.1-2008) shall not exceed {ARG_MAX}-2048 bytes
so you should never run into the ARG_MAX limit.