Julian Gilbey wrote:
On Thu, Mar 15, 2007 at 12:17:03AM +0000, Adam D. Barratt wrote:
[...]
Personally I still prefer the find solution, but it really depends
how we want to handle non-executable files located in the folders
being traversed.

There shouldn't be any non-executable files in those folders except
for symlinks.  Why make life hard when we can make it easy?

For the default paths, no, there shouldn't be. I was trying to be a little more useful / belt-and-braces (depending on your viewpoint) in the case where the user supplied paths on the command line which contained a mixture of executables and other files.

Admittedly that's probably not going to be the most common use case and I'm all for not making my life harder than it needs to be, so I don't feel strongly enough about it to argue. :)

Adam


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to