Re: Formatting a mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux