|
|
HP-UX Reference > Ccomb(1)HP-UX 11i Version 2: December 2007 Update |
|
NAMEcomb — combine SCCS deltas DESCRIPTIONThe comb command generates a shell procedure (see sh(1)) which, when run, reconstructs the given SCCS files. The reconstructed files are usually smaller than the original files. Arguments can be specified in any order, but all options apply to all named SCCS files. If a directory is named, comb behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last component of the path name does not begin with s.) and unreadable files are silently ignored. If a name of - is given, the standard input is read; each line of the standard input is taken to be the name of an SCCS file to be processed; non-SCCS files and unreadable files are silently ignored. The generated shell procedure is written on the standard output. Optionscomb recognizes the following options. Each is explained as if only one named file is to be processed, but the effects of any option apply independently to each named file.
If no options are specified, comb preserves only leaf deltas and the minimal number of ancestors needed to preserve the tree. EXAMPLESThe command: comb -c1.1,1.3,1.6 s.document > save_file creates a shell script named save_file, which if executed, creates a new s.document using only the deltas 1.1, 1.3,and 1.6 from the old s.document. The script overwrites the old s.document; thus, it might be wise to copy the original elsewhere. Here is an example of typical technique: cp s.document s.save comb -c1.1,1.3,1.6 s.document > save_file sh save_file |
|