Pattern-matching characters for Attache pathnames
NOTE: For ClearCase and ClearCase LT, see the wildcards_ccase reference page.
Product | Command Type |
---|---|
Attache | general information |
Platform |
---|
UNIX |
Windows |
Attache recognizes wildcard (pattern-matching) characters in these contexts:
Attache commands - Attache expands wildcards in command pathnames with respect to the view, except in three cases-import, lslocal, and put-in which wildcards are expanded with respect to the workspace. In addition, various commands accept pattern arguments that can include wildcards; for example, see find -name, and lsvob vob-tag-pattern. In one of these arguments, a wildcard pattern must be quoted to protect it from evaluation by the command processor itself. For example:
cmd-context lsvob -region "dev*" "*src*" |
("pattern" arg; quotes required) |
cmd-context ls *.c |
(standard pname arg; no quotes required) |
Config spec rules - The pathname pattern in a config spec rule is interpreted by a view's associated view_server process.
Attache recognizes these wildcard characters:
? | Matches any single character. |
* | Matches zero or more characters. |
~ | Indicates your home directory on the helper host, except for put, import, and lslocal commands. |
~username (UNIX only | Indicates username's home directory on the helper host (except for put, import, and lslocal commands). |
[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: | |
| |
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 © 2001 by Rational Software Corporation. All rights reserved. |