Content-type: text/html
Manpage of Scat
Scat
Section: User SRB Commands (1)
Updated: Jan 2002
Index
Return to Main Contents
NAME
Scat - concatenate and display files read from SRB space
SYNOPSIS
Scat
[-C
n]
[-T
ticket]
[-A
condition] srbObj ...
Scat
[-aChl]
[-c
condition]
DESCRIPTION
Scat
reads each
srbObj
from SRB space and writes it on the standard output. With -C
option, one can read a particular copy of
srbObj,
if it exists. With -A option, only
srbObj
which conforms to the
condition
are chosen.
The second synopsis applies the
condition
and writes the resulting objects to standard out.
If using a ticket, one need not give a
srbObj
name if the ticket is issued for a particular dataset.
If any
srbObj
is replicated then only one of the copies is displayed.
The user should have at least 'read' permission for each
SrbObj
or a ticket (for user or 'ticketuser' id) to access the
SrbObj.
The
srbObj
argument can be a path name in the SRB collection hierarchy.
OPTIONS
- -h
-
displays command options
- -C
-
n
is an integer denoting which COPY of the object to be accessed.
- -T
-
to give a filename containing a ticket
- -t
-
option for giving a ticket directly
- -A
-
condition
option is an '&' separated condition which will be applied
in choosing the object to be accessed. The separated condition
is of the form "<Attr> <CompOp> <Value>", where <Attr> is an
MCAT attribute found by
Sattrs
command, <CompOp> is a comparison operator and <Value> is a
numeric or string value. The entire condition should be within
a set of double quotes. Example: Scat -A "COPY = 0"
- -c
-
condition
option applies to the whole SRB system instead of relative to the
current working collection. Example: Scat -c "GUID='123'" will write the
objects that haa their Guid set to 123. See
Sattrs
for details of applicable conditions.
SEE ALSO
Sticket(1),
Sattrs(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:44:15 GMT, July 02, 2004