Glob()
From Wikipedia, the free encyclopedia
- The correct title of this article is glob(). The initial letter is shown capitalized due to technical restrictions.
glob() is a Unix library function that expands file names using a pattern matching notation reminiscent of regular expression syntax but without the expressive power of true regular expressions. The word "glob" is also used as a noun when discussing a particular pattern, e.g. "use the glob *.log to match all those log files".
The term glob is now used to refer more generally to limited pattern matching facilities of this kind in other contexts. Larry Wall's Programming Perl discusses glob in the context of the Perl language. Similarly, Tcl contains both true regular expression matching facilities and a more limited kind of pattern matching often described as globbing.
Glob is also the name of an Italian television comedy produced by Enrico Bertolino which addresses the language of communication used by the mass media and other such topics. The show offers numerous observations on the poor communication of television journalists.