Related Items: Filename Generation
Options
BAD_PATTERN (+2)
If a pattern for filename generation is badly formed,
print an error message. (If this option is unset, the
pattern will be left unchanged.)
CSH_NULL_GLOB
If a pattern for filename generation has no matches,
delete the pattern from the argument list; do not
report an error unless all the patterns in a command
have no matches. Overrides NULL_GLOB.
EXTENDED_GLOB
Treat the `#', `~' and `^' characters as part of pat-
terns for filename generation, etc. (An initial
unquoted `~' always produces named directory expan-
sion.)
GLOB (+F, ksh: +f)
Perform filename generation (globbing). (See the sec-
tion `Filename Generation'.)
GLOB_ASSIGN
If this option is set, filename generation (globbing)
is performed on the right hand side of scalar parameter
assignments of the form `name=pattern (e.g. `foo=*').
If the result has more than one word the parameter will
become an array with those words as arguments. This
option is provided for backwards compatibility only:
globbing is always performed on the right hand side of
array assignments of the form `name=(value)' (e.g.
`foo=(*)') and this form is recommended for clarity;
with this option set, it is not possible to predict
whether the result will be an array or a scalar.
GLOB_DOTS (-4)
Do not require a leading `.' in a filename to be
matched explicitly.
GLOB_SUBST
Treat any characters resulting from parameter substitu-
tion as being eligible for file expansion and filename
generation, and any characters resulting from command
substitution as being eligible for filename generation.
MARK_DIRS (-8, ksh: -X)
Append a trailing `/' to all directory names resulting
from filename generation (globbing).
NOMATCH (+3)
If a pattern for filename generation has no matches,
print an error, instead of leaving it unchanged in the
argument list. This also applies to file expansion of
an initial `~' or `='.
NULL_GLOB (-G)
If a pattern for filename generation has no matches,
delete the pattern from the argument list instead of
reporting an error. Overrides NOMATCH.
NUMERIC_GLOB_SORT
If numeric filenames are matched by a filename genera-
tion pattern, sort the filenames numerically rather
than lexicographically.
Parameters
fignore (FIGNORE )
An array (colon separated list) containing the suffixes
of files to be ignored during filename completion.
However, if the completion generates only files which
would match if this variable would be ignored, than
these files are completed anyway.