Arbortext Command Language > Functions by Alphabetical Listing > glob
  
glob
glob(filepat[, arr])
This function fills the array arr with a list of file names that match the pattern specified by filepat. It returns the number of files matching the pattern or zero if nothing matched. The file names are returned in alphabetical order.
Currently, if the file pattern contains any directory components, only the last component may contain the file match patterns *, ? and [].
Examples
glob("*.sgm", doclist)