sb2sccs - convert an SBCS file to an SCCS file
sb2sccs converts an existing SBCS s-file (see nadmin(1))
to a new SCCS s-file.
Version and history information is extracted from the SBCS s-file
and used to create a new SCCS s-file.
The information that is preserved includes the original SID,
delta sequence number, date and time, author,
list of MRs and comments for all deltas, actual and removed.
The file descriptive text, user list and flags are also preserved.
Predecessor sequence numbers reflect the underlying differencing
implementation and are in general not preserved.
An application should not rely on predecessor sequence numbers.
The SCCS line-count statistics for deltas is regenerated,
except for removed deltas.
An attempt to convert an SBCS s-file
that has its binary flag set (see nadmin(1)) will fail.
sb2sccs generates an sh(1) and awk(1) script and then runs it.
It is possible to run the command to simply generate the intermediate
Don't run the script. The intermediate executable sh(1) script
is produced and preserved under the name sb2sc.sh, but it is not run.
sb2sccs will not overwrite an existing sb2sc.sh
Silent mode. Non-essential information is suppressed.
Verbose mode. Allow all SBCS and SCCS commands used by the script
to print their standard information to standard out.
- -g sccs-get-cmd
Full path to the SCCS get command. That path is then also used
for the SCCS admin, delta and prs commands.
Temporary files are created in the directory specified by one of the env
variables TMPDIR, TEMP or TMP, or the sbcsenv variable tmpdir [= "/tmp"].
These files are removed before the command finishes.
The SBCS g-file is also created and cannot pre-exist.
The SCCS g-file, p-file and z-file are all created during
the conversion. They are removed at the end of the conversion.
The SBCS nhelp command can be used to interpret
warning and error codes.
On some systems the comments or other text strings may exceed
awk's line length limits. The text will have to be shortened to allow
the transformation to proceed.
- SEE ALSO
This document was created by
using the manual pages.
Time: 20:29:13 GMT, February 11, 2009