Re:Why "ls *.c" is at least dumb, and possibly dangerous
by bobbyi on Friday October 09, 2009 @02:08AM
(#870731)
It's so that every script in the world doesn't have to duplicate the logic for how to interpret globs. They inevitably won't end up doing it exactly the same way.
[ Parent
| on HN ]
Re:Why "ls *.c" is at least dumb, and possibly dangerous
by wvenable on Friday October 09, 2009 @12:36PM
(#871758)
Shouldn't that be part of the OS API? Why call me with 1,000 arguments, when I could call an API with the wildcard and get the 1,000 files back? My poor argv can't handle it the other way.