globbingin
Globbing, or filename globbing, is a pattern matching facility used by shells and programming languages to expand non-specific pathspecs into a list of matching filesystem paths. It relies on wildcard characters rather than regular expressions to select names.
Common patterns include the asterisk (*) which matches any string of characters within a single directory level,
Examples of use: in a Unix shell, ls *.txt lists all files ending in .txt in the
Origin and scope: the term globbing comes from the glob() function in early Unix systems, which performed
See also: comparison with regular expressions; language-specific implementations of glob patterns; recursive globbing features.