Current Supported Releases: Sablime® v6.0 & v5.2
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 informa-
tion that is preserved includes the original SID, delta
sequence number, date and time, author, list of MRs and com-
ments for all deltas, actual and removed. The file descrip-
tive text, user list and flags are also preserved.
Predecessor sequence numbers reflect the underlying dif-
ferencing 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 stan-
dard 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
SBCS Release 1.2 Last change: 1 April 1994 1
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
, , nadmin(1), ncdc(1), ndelta(1), nget(1),
nhelp(1), nprs(1), nrmdel(1), sb2sccs(1), sbcsenv(1),
sc2sbcs(1).
SBCS Release 1.2 Last change: 1 April 1994 2
Return to SBCS Commands manpage index
Copyright © 2003
Lucent Technologies