[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /bin/cat : argument list is too long
From: |
Eric Blake |
Subject: |
Re: /bin/cat : argument list is too long |
Date: |
Wed, 28 Nov 2007 21:05:31 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Steve Ward on 11/28/2007 8:47 PM:
> Except that it recurses into subdirectories, while the command-line glob
> does not. You would also need to use -prune or the non-portable
> -maxdepth
> 1 with find to limit results to the current directory.
> <snip>
>
> Why is -maxdepth 1 non-portable?
Because it is not required by POSIX, therefore, not all find
implementations have it.
http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHTjqL84KuGfSFAYARAojwAKCTfjyNgennSRzlFTdBXn9gwxIuDwCghg1m
qsaPq/qrXUZWwrPVkDsyQdo=
=cLVJ
-----END PGP SIGNATURE-----
Re: /bin/cat : argument list is too long, Micah Cowan, 2007/11/21