in reply to using glob to find "unwanted" file names

I'd rather use opendir/readdir/closedir. That's more likely to be portable.

But if the files are on the disk it's already too late. You should make sure you do not create such files in the first place.

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature

  • Comment on Re: using glob to find "unwanted" file names