- quickly dissect cluster files
string1 ... stringn
program is used to cut individual groups out of a cluster file. This
can be used to see the contents of a particular group easily, or to
generate special-use clusters on the fly. The results of the program
will be sent to standard output.
The following options are available:
The first argument must either be the name of a cluster file, or a
If the dash is given, the clusterfile will be read from the file
indicated in the
environment variable. If the
environment variable does not exist,
will process standard input.
The second argument is a space separated list of one or more strings
to search for in the cluster file. These are the names of groups
within the cluster, and will only match group names. If a group name
is matched, all nodes in that group will be printed out, along with
heading and the name of the group. You can partially match the
begining of a group name with a string. For example, the argument
but would not match
utilizes the following environment variables:
Contains a filename, which is a newline separated list of nodes
in the cluster.
Exit status is 0 on success, 1 if an error occurs.
command appeared in clusterit 2.0.
was written by Tim Rightnour.