Current Supported Releases: Sablime® v6.0 & v5.2
NAME
sabtree - print the SID dependencies and MRs in a SABLIME
s-file.
SYNOPSIS
sabtree [-abu] [-f fields] [-r sid] [-w width] [-h hilit]
[-f fields] s-file
DESCRIPTION
sabtree prints a version tree of an SBCS or SCCS s-file pro-
duced by the SABLIME configuration management tool. It
includes the SABLIME MR (modification request) ID next to
the corresponding SID (SBCS or SCCS ID) for each delta.
sabtree depends on the SBCS sidtree(1) command and includes
knowledge of how SABLIME MRs are stored in s-files.
OPTIONS
-a Include all deltas, even removed ones (nrmdel), in the
display.
-b Highlight all base versions (see -h option below).
-u Print the picture with time going up instead of down.
-f fields
fields is a string made from the digits 1 to 9. Each
digit represents one more field of the output. The
fields are
1 delta flag
2 SID
3 date of delta
4 time of delta
5 author (programmer)
6 delta sequence number
7 predecessor delta sequence number (0 for base
versions)
8 MR name
9 delta character statistics
Field 2 and 8 are always implied by default.
-h hilit
Highlights are limited to overstrikes and underscores.
The user's pager may map these to colors or other
highlight modes. The default highlight used is 3
(overstrike), but it can be set to 2 (underscore) or 1
(none). When standard output is not a terminal, sab-
tree turns highlight off, unless the -h[23] option is
given.
SBCS Release 1.2 Last change: 1 April 1994 1
-r sid
Specify a particular version by SID or version name.
That version is then highlighted along with the delta
path to the base version it is derived from.
-w width
The maximum total width of the picture, in characters.
By default this number is 80. sabtree automatically
squeezes the picture of the branches, up to a point, to
accommodate the fields requested (-f).
SBCS Release 1.2 Last change: 1 April 1994 2
EXAMPLE
1.1 -------------------------------+------+ sable initial
| | 1.1.1.1 sable sab890000
| 1.1.2.1 | sable sab890000
| | 1.1.1.2 sable approval
| 1.1.2.2 | anil sab890067.02
| | 1.1.1.3 sable approval
| 1.1.2.3 | anil sab890104.00
| 1.1.2.4 | anil sab890104.00
| | 1.1.1.4 sable approval
| 1.1.2.5 | anil sab890104.01
| | 1.1.1.5 sable approval
| 1.1.2.6 | anil sab890161
| | 1.1.1.6 sable approval
| 1.1.2.7 | anil sab900003
| | 1.1.1.7 sable approval
2.1 -----------------+------+ | sable sab900163
| | 2.1.1.1 | sable sab900163
| 2.1.2.1 | | sable sab900163
| | 2.1.1.2 | sable approval
| | | 1.1.2.8 ljh sab910348.01
| 2.1.2.2 | | ljh sab910348.01
| | | 1.1.2.9 ljh sab910348.01
| 2.1.2.3 | | ljh sab910348.01
| 2.1.2.4 | | prasad sab920371
| | 1.1.2.10 prasad sab920371
3.1 | gbrill auto
4.1 | gbrill auto
5.1 ---+------+ | gbrill sab930005
| 5.1.1.1 | gbrill sab930005
5.1.2.1 | | gbrill sab930005
5.1.2.2 | | gbrill sab930005
5.1.1.2 | wina approval
2.1.1.3 wina approval
Figure 1: sabtree -f5 s.sample_sc
ENVIRONMENT
sabtree looks for PAGER in the shell environment, then for
the sbcsenv(1) variable pager [= "cat"] variable. If a
pager is defined sabtree will use it with highlight modes.
If output is explicitly piped through a pager, highlight
mode is suppressed and the -h option will have to be speci-
fied.
DIAGNOSTICS
Warning and error messages have error codes that can be used
with nhelp for a more detailed explanation.
SEE ALSO
nadmin(1), ndelta(1), nedges(1), nget(1), nhelp(1), nprs(1),
SBCS Release 1.2 Last change: 1 April 1994 3
sidtree(1).
SBCS Release 1.2 Last change: 1 April 1994 4
Return to SBCS Commands manpage index
Copyright © 2003
Lucent Technologies