#143897 glibc: ignore-case flag for glob(3)

#143897#5
Date:
2002-04-21 15:30:08 UTC
From:
To:
I'd like a flag to glob() that makes it ignore case, like bash can do.
(Bash contains its own implementation of glob() rather than using the
libc's.)

I realize I'll have to implement this myself anyway in order to be
portable to other systems, but it'd be nice if most of the code could
disappear when using glibc. glob() uses fnmatch(), which already has the
FNM_CASEFOLD flag, so having GLOB_CASEFOLD or whatever arrange to use
that flag seems like an obvious extension.

Thanks,