Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'choice of ls arguments' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
choice of ls arguments
Authored by: anoved on Nov 08, '06 06:41:42PM

Exactly. In fact, my first draft of the script did use -1, but after reviewing the ls man page I saw the same note cited by fredrikw and decided to omit it for the sake of simplicity (since output to "do shell script" is not to a terminal).

On the other hand, it wouldn't hurt to retain the explicit argument, and it would clarify the intent of the code, so I may include it in any future revisions. In the meantime please do make (and share) any changes you find useful. Thanks!



[ Reply to This | # ]