1SACT(P) POSIX Programmer's Manual SACT(P)
2
3
4
6 sact - print current SCCS file-editing activity (DEVELOPMENT)
7
9 sact file...
10
12 The sact utility shall inform the user of any impending deltas to a
13 named SCCS file by writing a list to standard output. This situation
14 occurs when get -e has been executed previously without a subsequent
15 execution of delta, unget, or sccs unedit.
16
18 None.
19
21 The following operand shall be supported:
22
23 file A pathname of an existing SCCS file or a directory. If file is a
24 directory, the sact utility shall behave as though each file in
25 the directory were specified as a named file, except that non-
26 SCCS files (last component of the pathname does not begin with
27 s.) and unreadable files shall be silently ignored.
28
29 If exactly one file operand appears, and it is '-' , the standard input
30 shall be read; each line of the standard input shall be taken to be the
31 name of an SCCS file to be processed. Non-SCCS files and unreadable
32 files shall be silently ignored.
33
34
36 The standard input shall be a text file used only when the file operand
37 is specified as '-' . Each line of the text file shall be interpreted
38 as an SCCS pathname.
39
41 Any SCCS files interrogated are files of an unspecified format.
42
44 The following environment variables shall affect the execution of sact:
45
46 LANG Provide a default value for the internationalization variables
47 that are unset or null. (See the Base Definitions volume of
48 IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari‐
49 ables for the precedence of internationalization variables used
50 to determine the values of locale categories.)
51
52 LC_ALL If set to a non-empty string value, override the values of all
53 the other internationalization variables.
54
55 LC_CTYPE
56 Determine the locale for the interpretation of sequences of
57 bytes of text data as characters (for example, single-byte as
58 opposed to multi-byte characters in arguments and input files).
59
60 LC_MESSAGES
61 Determine the locale that should be used to affect the format
62 and contents of diagnostic messages written to standard error.
63
64 NLSPATH
65 Determine the location of message catalogs for the processing of
66 LC_MESSAGES .
67
68
70 Default.
71
73 The output for each named file shall consist of a line in the following
74 format:
75
76
77 "%s %s %s %s %s\n", <SID>, <new SID>, <login>, <date>, <time>
78
79 <SID> Specifies the SID of a delta that currently exists in the SCCS
80 file to which changes are made to make the new delta.
81
82 <new SID>
83 Specifies the SID for the new delta to be created.
84
85 <login>
86 Contains the login name of the user who makes the delta (that
87 is, who executed a get for editing).
88
89 <date> Contains the date that get -e was executed, in the format used
90 by the prs :D: data keyword.
91
92 <time> Contains the time that get -e was executed, in the format used
93 by the prs :T: data keyword.
94
95
96 If there is more than one named file or if a directory or standard
97 input is named, each pathname shall be written before each of the pre‐
98 ceding lines:
99
100
101 "\n%s:\n", <pathname>
102
104 The standard error shall be used only for optional informative messages
105 concerning SCCS files with no impending deltas, and for diagnostic mes‐
106 sages.
107
109 None.
110
112 None.
113
115 The following exit values shall be returned:
116
117 0 Successful completion.
118
119 >0 An error occurred.
120
121
123 Default.
124
125 The following sections are informative.
126
128 None.
129
131 None.
132
134 None.
135
137 None.
138
140 delta , get , sccs , unget
141
143 Portions of this text are reprinted and reproduced in electronic form
144 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
145 -- Portable Operating System Interface (POSIX), The Open Group Base
146 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
147 Electrical and Electronics Engineers, Inc and The Open Group. In the
148 event of any discrepancy between this version and the original IEEE and
149 The Open Group Standard, the original IEEE and The Open Group Standard
150 is the referee document. The original Standard can be obtained online
151 at http://www.opengroup.org/unix/online.html .
152
153
154
155IEEE/The Open Group 2003 SACT(P)