lsregion

Lists ClearCase network regions

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


Attache


command


Platform

UNIX


Windows

SYNOPSIS

lsregion [ -s·hort | -l·ong ] [ 'region-tag-pattern' ... ]

DESCRIPTION

The lsregion command lists one or more ClearCase network regions.

To be accessible to cleartool subcommands, including lsregion, a region must have an entry in the regions registry file on the network's registry server host. For more information about registry files, see the Administrator's Guide.

NOTE: To display the name of the registry server host for which entries are displayed, use the hostinfo -long command.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

LISTING FORMAT.  Default: lsregion displays only region names.

-s·hort

Same as the default. Displays only region names.
-l·ong

Displays region names and their comment strings.

SPECIFYING THE REGIONS LISTED.  Default: Lists all registered network regions.

'region-tag-pattern' ...

Confines the listing to regions that match one or more region-tag-patterns. A region-tag-pattern can include pattern-matching characters as described in wildcards_ccase. Enclose each pattern within single quotes.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

UNIX FILES

/var/adm/atria/rgy/regions

WINDOWS FILES

ccase-home-dir\var\rgy\regions

WINDOWS REGISTRY KEYS

HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\Region

SEE ALSO

mkregion, rmregion, Administrator's Guide