IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
Commands Index:


Pattern-matching characters for ClearCase and ClearCase LT pathnames


ProductCommand type
ClearCasegeneral information
ClearCase LTgeneral information



?        *        ~        [ ... ]        ...


Wildcard (pattern-matching) characters are recognized in these contexts:

  • UNIX—cleartool single-command mode. The operating system shell, not cleartool, interprets pathnames and expands wildcards. With some cleartool commands (catcr –select, find –name, lsvob), you can specify a pathname pattern as a quoted argument; these are always interpreted by cleartool:

    cleartool catcr –select "bug?.o" bgrs@@04-Mar.22:54.426 

  • Windows—cleartool single-command mode. The command shell, not cleartool, interprets pathnames and expands wildcards. Therefore, unless you are using a command shell that expands pathname wildcards (cmd.exe does not), these wildcards are disallowed. You can, however, use wildcards in special pattern arguments in some cleartool subcommands (catcr –select, find –name, and lsvob). For example:
    Z:\> cleartool ls *.cFails; command shell does not understand wildcards.
    Z:\> cleartool lsvob *src*“Pattern” argument wildcards accepted; no quotes required because cleartool does not expand the command line.
  • cleartool interactive mode. cleartool expands wildcards in pathnames. In cleartool commands that accept pattern arguments (catcr –select,find –name, and lsvob), you must quote a wildcard pattern to protect it from evaluation by cleartool itself. For example:
    cleartool> lsvob –region "dev*"  "*src*"“Pattern” argument; quotes required
    cleartool> ls *.cStandard pname argument; no quotes required.
  • Config spec rules. The pathname pattern in a config spec rule is interpreted by a view's associated view_server process.

ClearCase and ClearCase LT recognize 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; matches zero or more directory levels.
For example:

foo/.../bar matches any of the following pathnames:





foo\... matches the foo directory itself, along with the entire directory tree under it.

For more information, including restrictions, see the config_spec reference page .



ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News