Itk - the [incr Tk] extension

Help: test-glob
Login

The "test-glob" command:

Usage: fossil test-glob PATTERN STRING...

PATTERN is a comma- and whitespace-separated list of optionally quoted glob patterns. Show which of the STRINGs that follow match the PATTERN.

If PATTERN begins with "@" the rest of the pattern is understood to be a setting name (such as binary-glob, crln-glob, or encoding-glob) and the value of that setting is used as the actually glob pattern.

The output consists of two numbers and a STRING. The first number is the result of glob_match() and the second is the result of glob_multi_match().