glob - Expand shell-wildcard patterns



NAME

glob - Expand shell-wildcard patterns


SYNOPSIS

glob [OPTIONS] [--] PATTERN [PATTERN [PATTERN [...]]]


DESCRIPTION

Expand PATTERN as shell-wildcard patterns and output matching filenames. Output all matched file names once and sorted alphabetically.


OPTIONS

-0

Output filenames as NULL byte temrinated strings.

-f

Fail if can not read a directory. See GLOB_ERR in File::Glob(3perl).

-E

Fail if any PATTERN did not match. Exit code is 2 in this case.

-i

Match case-insensitively. Default is case-sensitive.

-b

Support curly bracket expansion. See GLOB_BRACE in File::Glob(3perl).


LIMITATIONS

Uses perl(1)'s bsd_glob function from File::Glob(3perl),


SEE ALSO

File::Glob(3perl), perldoc(1): glob

 glob - Expand shell-wildcard patterns