glob
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | glob [2007/03/02 02:32] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: glob.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $ | ||
+ | ======Synopsis: | ||
+ | $__glob__(< | ||
+ | |||
+ | ======Technical: | ||
+ | The <file glob pattern> argument is a [[what is a word|dword]] which is | ||
+ | different than most functions. | ||
+ | |||
+ | This function is used to find filenames that are matched by specified | ||
+ | patterns. | ||
+ | may not be available on every installation. | ||
+ | specified. | ||
+ | pattern beginning with a dot is given. | ||
+ | |||
+ | ======Practical: | ||
+ | This function gives the client the file globbing abilities of modern | ||
+ | Unix command shells. | ||
+ | names matching the given glob pattern. | ||
+ | listing files, or finding files with similar names. | ||
+ | |||
+ | ======Returns: | ||
+ | list of files matching input glob pattern, nothing if none match | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $glob(~/ | ||
+ | $glob(*) | ||
+ | $glob(.*) | ||
+ | $glob(f*) | ||
+ | </ | ||
+ | |||
+ | ======Restrictions: | ||
+ | This function may not be present in all clients. | ||
+ | is available to disable it. The function is present if the string | ||
+ | returned by $[[info function|info]](o) has a " | ||
+ | |||
glob.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1