Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
sccs-val(1)			 User Commands			   sccs-val(1)

       sccs-val, val - validate	an SCCS	file

       /usr/ccs/bin/val	-

       /usr/ccs/bin/val	[-s] [-m name] [-rsid] [-y type] s.filename...

       val determines if the specified s.files meet the	characteristics	speci-
       fied by the indicated arguments.	val can	process	up to 50  files	 on  a
       single command line.

       val  has	 a special argument, `-', which	reads the standard input until
       the end-of-file condition is detected.  Each line read is independently
       processed as if it were a command line argument list.

       val  generates diagnostic messages on the standard output for each com-
       mand line and file processed and	also returns a single 8-bit code  upon
       exit as described below.

       The 8-bit code returned by val is a disjunction of the possible errors,
       that is,	it can be interpreted as a bit string where (moving from  left
       to right) the bits set are interpreted as follows:

	      bit 0 = missing file argument
	      bit 1 = unknown or duplicate option
	      bit 2 = corrupted	s.file
	      bit 3 = can not open file	or file	not in s.file format
	      bit 4 = the SCCS delta ID	(SID) is invalid or ambiguous
	      bit 5 = the SID does not exist
	      bit 6 = mismatch between	and -y argument
	      bit 7 = mismatch between sccs-val.1 -m argument

       val  can	process	two or more files on a given command line, and in turn
       can process multiple command lines (when	reading	the  standard  input).
       In  these  cases, an aggregate code is returned which is	the logical OR
       of the codes generated for each command line and	file processed.

       The following options are supported:

       - s   Silent.  Suppress the normal error	or warning messages.

       -m name
	     Compare name with the sccs-val.1 ID keyword in the	s.file.

       -rsid Check to see if the indicated SID is ambiguous, invalid,  or  ab-
	     sent from the s.file.

       -y type
	     Compare type with the  ID keyword.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWsprot			   |

       sccs(1),	  sccs-admin(1),   sccs-delta(1),  sccs-get(1),	 sccs-help(1),
       what(1),	sccsfile(4), attributes(5)

       Use the SCCS help command for explanations (see sccs-help(1)).

SunOS 5.9			  1 Nov	1999			   sccs-val(1)


Want to link to this manual page? Use this URL:

home | help