DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Source code control system (SCCS)

val command

The val(CP) command determines whether a file is an SCCS file meeting the characteristics specified by certain key letters. It checks for the existence of a particular delta when the SID for that delta is specified with -r.

The string following -y or -m checks the value set by the t or the m SCCS file flags, respectively. See admin(CP) for descriptions of these flags.

The val command treats the special argument -- differently than other SCCS commands. It allows val to read the argument list from the standard input instead of from the command line: the standard input is read until an end-of-file (<Ctrl>d) is entered. This permits one val command with different values for key letters and file arguments. For example:

val - -yc -mabc s.abc -mxyz -ypl1 s.xyz

val first checks whether file s.abc has a value c for its type flag and value abc for the module name flag. Once this is done, val processes the remaining file, in this case, s.xyz.

The val command returns an 8-bit code. Each bit set shows a specific error. (See val(CP) for a description of errors and codes.) In addition, an appropriate diagnostic is printed, unless suppressed by -s. A return code of 0 means all files meet the characteristics specified.


Next topic: vc command
Previous topic: comb command

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003