Formatting a mail
John Summerfield
debian at herakles.homelinux.org
Mon Oct 15 10:05:52 UTC 2007
Tony Nelson wrote:
> At 11:29 AM +1000 10/15/07, Cameron Simpson wrote:
>> that limit is not hit. Why not? Because the limit only applies to exec()
>> calls. It is an OS interface limit. For loops take place entirely in
>> user space. There is no "command line" being constructed in the sense
>> you're thinking.
> ...
>
> Whaddayaknow.
>
> $ ls /*/*/*/*/* | wc
> bash: /bin/ls: Argument list too long
> 0 0 0
> $ for n in /*/*/*/*/* ; do echo $n ; done | wc
> 211860 218203 7290275
> $
Oh. I sit corrected.
Too shocked to stand.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
Please do not reply off-list
More information about the fedora-list
mailing list