in reply to Re: Re: Processing all files in a directory
in thread Processing all files in a directory
Prepending the filename was what I needed as well - I assumed that something would "remember" from the opendir.
Well, I can imagine people assume the results from readdir have the directory name prepended. But if you think so, you wouldn't use /^\./ to weed out filenames, would you? Because then you would either select all filenames in the directory, or none at all, depending whether the directory name starts with a dot or not.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Processing all files in a directory
by billie_t (Sexton) on May 27, 2003 at 01:30 UTC |