PWB1/usr/man/man8/glob.8

Compare this file to the similar file:
Show the results in this format:

.th GLOB VIII 5/31/77
.sh NAME
glob \*- generate command arguments
.sh SYNOPSIS
.bd /etc/glob
command [ arguments ]
.sh DESCRIPTION
.it Glob
is used to expand arguments containing ``*'', ``['', or
``?'', in the same fashion as the Shell does.
.it Glob
is passed the argument list
containing the metacharacters;
.it glob
expands the list and calls the indicated command.
The actions of 
.it glob
are detailed in
the Shell writeup.
.s3
If the command name is a simple name containing no `/',
.it glob
expects argument 0 to be a sequence of directories separated by `:',
i.e., a string of the same form as the Shell's $p variable.
It uses this argument to perform
directory searching in the same way as the shell.
.sh "SEE ALSO"
sh(I), pexec(III)
.sh DIAGNOSTICS
``No match'' if none of the arguments
produces a successful filename match.
.br
``Arg list too long''
if too many (more than 5120) characters of arguments are generated.
.br
Other messages are listed in
.it "pexec(III)."