SB2SCCS

NAME

sb2sccs - convert an SBCS file to an SCCS file

SYNOPSIS

sb2sccs [-nsv] [-g sccs-get-cmd] sbcs-file sccs-file

DESCRIPTION

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 script.

OPTIONS

-n
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
-s
Silent mode. Non-essential information is suppressed.
-v
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.

FILES

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.

DIAGNOSTICS

The SBCS nhelp command can be used to interpret warning and error codes.

BUGS

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

sh(1), awk(1), nadmin(1), ncdc(1), ndelta(1), nget(1), nhelp(1), nprs(1), nrmdel(1), sb2sccs(1), sbcsenv(1), sc2sbcs(1).


Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
DIAGNOSTICS
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 20:29:13 GMT, February 11, 2009