Bash globbing files only?

Cameron Simpson cs at zip.com.au
Wed Jan 31 00:43:44 UTC 2007


On 30Jan2007 16:43, Steve Friedman <steve at adsi-m4.com> wrote:
| Note, that find also solves another problem:  namely, that if the globbing 
| generates a line length beyond the max for bash (in either the for or the 
| concatenation), then the script will fail.  This won't happen with find.

That's pretty big. Note that the for loop is _not_ subject to the
command line exec argument length limit, because no program is being
exec()ed.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

"How do you know I'm Mad?" asked Alice.
"You must be," said the Cat, "or you wouldn't have come here."




More information about the fedora-list mailing list