| glob - Expand shell-wildcard patterns |
glob - Expand shell-wildcard patterns
glob [OPTIONS] [--] PATTERN [PATTERN [PATTERN [...]]]
Expand PATTERN as shell-wildcard patterns and output matching filenames. Output all matched file names once and sorted alphabetically.
Output filenames as NULL byte temrinated strings.
Fail if can not read a directory. See GLOB_ERR in File::Glob(3perl).
Fail if any PATTERN did not match. Exit code is 2 in this case.
Match case-insensitively. Default is case-sensitive.
Support curly bracket expansion. See GLOB_BRACE in File::Glob(3perl).
Uses perl(1)'s bsd_glob function from File::Glob(3perl),
File::Glob(3perl), perldoc(1): glob