Hi!
Yep, that would work, but I guess my question was a bit poorly formulated. I am writing a bash script that has:
dirs=[^.]*/
and I'd like to have "files=..." without using find or other
external
commands if at all possible.
Thanks.
Of course the best way is with the find command, being
find / -type f
Any reason why you'd rather use ls instead of find?
I want just the files from the current directory, not from any subdir. And I'd prefer some bash globbing if possible for performance/elegancy reasons :)
Thanks.
____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com