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
In reply to Re: using glob to find "unwanted" file names
by Jenda
in thread using glob to find "unwanted" file names
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |