Pattern-matching characters for ClearCase pathnames
ClearCase (general information)
NOTE: For Attache, see the wildcards reference page.
Wildcard (pattern-matching) characters are recognized in these contexts:
Z:\> cleartool ls *.c | (fails; command shell does not understand wildcards) |
Z:\> cleartool lsvob *src* | ("pattern" arg wildcards OK; no quotes required because cleartool does not expand the command line) |
cleartool> lsvob -region "dev*" "*src*" | ("pattern" arg; quotes required) |
cleartool> ls *.c | (standard pname arg; no quotes required) |
ClearCase recognizes these wildcard characters:
? | Matches any single character. |
* | Matches zero or more characters. |
~ | Indicates your home directory. |
[xyz] | Matches any of the listed characters. |
[x-y] | Matches any character whose ASCII code falls between that of x and that of y, inclusive. |
. . . | (Ellipsis, a ClearCase extension) Matches zero or more directory levels. |
|
For example: foo\...\bar matches any of the following pathnames: | |
foo\bar | |
|
and: foo\... matches the foo directory itself, along with the entire directory tree under it. |
See the config_spec reference page for more information, including restrictions.
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |