in reply to Re: bsd_glob returns non-existent files without GLOB_NOMAGIC (default)
in thread bsd_glob returns non-existent files without GLOB_NOMAGIC
almost, its GLOB_NOMAGIC
"GLOB_CSH"
For convenience, "GLOB_CSH" is a synonym for "GLOB_BRACE |
GLOB_NOMAGIC | GLOB_QUOTE | GLOB_TILDE | GLOB_ALPHASORT".
...
"GLOB_NOMAGIC"
Same as "GLOB_NOCHECK" but it only returns the pattern if it does
not contain any of the special characters "*", "?" or "[".
"NOMAGIC" is provided to simplify implementing the historic csh(1)
globbing behaviour and should probably not be used anywhere else.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|