By default, lsearch uses the "globbing" method of finding a match. Globbing is the wildcarding technique that most Unix shells use.
globbing wildcards are:
There is also a
glob command that
you will see in later sections that uses glob pattern matching
in directories, and returns a list of the matching files.
# Matches string match f* foo # Matches string match f?? foo # Doesn't match string match f foo # Returns a big list of files on my Debian system. set bins [glob /usr/bin/*]