On Fri, Apr 17, 2015 at 06:39:07PM -0400, Karl Dahlke wrote: > > we probably want to go back to readdir. > > I would rather not do this. > It is not portable, for one thing. It's as portable as wordexp. Both of them are posix. Probably neither of them are DOS. Also if we go for scandir, like glob, we can get the sorting we want via the alphasort comparisn function. > Not trying to have all of us move all the chess pieces at once, so > why don't you push your new ` convention first, > and we'll all play with it for a bit, > and see that directory scans work just fine, and then take the next step > whatever that may be. > For files with leading ` I would use the convention > ``filename > just like you use %% for % in printf. I've gone for \` since that's shell escaping which makes more sense in this case I think, though I don't really care. Cheers, Adam.