On 2006-01-20 12:40:35 +0100, Carl-Daniel Hailfinger wrote: > Not really. Many programs (including grep) have a commandline length > limitation which is lower than usual. xargs can't know that and will > regularly make grep barf if you use it to the extreme.
man xargs: [[[ --max-chars=max-chars, -s max-chars Use at most max-chars characters per command line, including the command and initial-arguments and the terminating nulls at the ends of the argument strings. The default is 131072 characters, not including the size of the environment variables (which are provided for separately so that it doesn't matter if your environment variables take up more than 131072 bytes). The operating system places limits on the values that you can usefully specify, and if you exceed these a warning message is printed and the value actually used is set to the appropriate upper or lower limit. ]]] darix --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
