20 Jan
2006
20 Jan
'06
11:40
Marcus Rueckert schrieb:
On 2006-01-20 09:21:21 +0100, Per Jessen wrote:
Yes, you could be running out of space on the command-line - 32K is the bash default I think. I started out using -exec some years back, but quickly switched to xargs or piping into 'while read f; do .... ; done'.
no you cant. xargs takes care that the cmdline wont be too long.
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. Regards, Carl-Daniel -- http://www.hailfinger.org/