in reply to Re: Answer: How do I read all the file names of a directory into an array?
in thread How do I read all the file names of a directory into an array?

I believe that the reason there are *'s after some files is because ls is aliased to ls -F, which will add a * to the end of files that are executeable. It will also add some other characters onto files that are directories, symlinks, etc.... You won't run into that using readdir though. Hope this helps!

- Brad
  • Comment on Re: Re: Answer: How do I read all the file names of a directory into an array?