summaryrefslogtreecommitdiffstats
path: root/man-pages-posix-2013/man1p/get.1p
blob: c1f1e81b3787454aa4c6ad323349a4ec76eb5e91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
'\" et
.TH GET "1P" 2013 "IEEE/The Open Group" "POSIX Programmer's Manual"
.SH PROLOG
This manual page is part of the POSIX Programmer's Manual.
The Linux implementation of this interface may differ (consult
the corresponding Linux manual page for details of Linux behavior),
or the interface may not be implemented on Linux.

.SH NAME
get
\(em get a version of an SCCS file (\fBDEVELOPMENT\fP)
.SH SYNOPSIS
.LP
.nf
get \fB[\fR\(mibegkmnlLpst\fB] [\fR\(mic \fIcutoff\fB] [\fR\(mii \fIlist\fB] [\fR\(mir \fISID\fB] [\fR\(mix \fIlist\fB] \fIfile\fR...
.fi
.SH DESCRIPTION
The
.IR get
utility shall generate a text file from each named SCCS
.IR file
according to the specifications given by its options.
.P
The generated text shall normally be written into a file called the
.BR g-file
whose name is derived from the SCCS filename by simply removing the
leading
.BR \(dqs.\(dq .
.SH OPTIONS
The
.IR get
utility shall conform to the Base Definitions volume of POSIX.1\(hy2008,
.IR "Section 12.2" ", " "Utility Syntax Guidelines".
.P
The following options shall be supported:
.IP "\fB\(mir\ \fISID\fR" 10
Indicate the SCCS Identification String (SID) of the version (delta)
of an SCCS file to be retrieved. The table shows, for the most useful
cases, what version of an SCCS file is retrieved (as well as the SID of
the version to be eventually created by
.IR delta
if the
.BR \(mie
option is also used), as a function of the SID specified.
.IP "\fB\(mic\ \fIcutoff\fR" 10
Indicate the
.IR cutoff
date-time, in the form:
.RS 10 
.sp
.RS 4
.nf
\fB
\fIYY\fB[\fIMM\fB[\fIDD\fB[\fIHH\fB[\fIMM\fB[\fISS\fB]]]]]\fR
.fi \fR
.P
.RE
.P
For the
.IR YY
component, values in the range [69,99] shall refer to years 1969 to
1999 inclusive, and values in the range [00,68] shall refer to years
2000 to 2068 inclusive.
.TP 10
.BR Note:
It is expected that in a future version of this standard the default
century inferred from a 2-digit year will change. (This would apply
to all commands accepting a 2-digit year as input.)
.P
.P
No changes (deltas) to the SCCS file that were created after the
specified
.IR cutoff
date-time shall be included in the generated text file. Units omitted
from the date-time default to their maximum possible values; for
example,
.BR \(mic
7502 is equivalent to
.BR \(mic
750228235959.
.P
Any number of non-numeric characters may separate the various 2-digit
pieces of the
.IR cutoff
date-time. This feature allows the user to specify a
.IR cutoff
date in the form:
.BR \(mic
"77/2/2\09:22:25".
.RE
.IP "\fB\(mie\fR" 10
Indicate that the
.IR get
is for the purpose of editing or making a change (delta) to the SCCS
file via a subsequent use of
.IR delta .
The
.BR \(mie
option used in a
.IR get
for a particular version (SID) of the SCCS file shall prevent further
.IR get
commands from editing on the same SID until
.IR delta
is executed or the
.BR j
(joint edit) flag is set in the SCCS file. Concurrent use of
.IR get
.BR \(mie
for different SIDs is always allowed.
.RS 10 
.P
If the
.BR g-file
generated by
.IR get
with a
.BR \(mie
option is accidentally ruined in the process of editing, it may be
regenerated by re-executing the
.IR get
command with the
.BR \(mik
option in place of the
.BR \(mie
option.
.P
SCCS file protection specified via the ceiling, floor, and authorized
user list stored in the SCCS file shall be enforced when the
.BR \(mie
option is used.
.RE
.IP "\fB\(mib\fR" 10
Use with the
.BR \(mie
option to indicate that the new delta should have an SID in a new
branch as shown in the table below. This option shall be ignored if the
.BR b
flag is not present in the file or if the retrieved delta is not a leaf
delta. (A leaf delta is one that has no successors on the SCCS file tree.)
.RS 10 
.TP 10
.BR Note:
A branch delta may always be created from a non-leaf delta.
.P
.RE
.IP "\fB\(mii\ \fIlist\fR" 10
Indicate a
.IR list
of deltas to be included (forced to be applied) in the creation of the
generated file. The
.IR list
has the following syntax:
.RS 10 
.sp
.RS 4
.nf
\fB
<list> ::= <range> | <list> , <range>
<range> ::= SID | SID \(mi SID
.fi \fR
.P
.RE
.P
SID, the SCCS Identification of a delta, may be in any form shown in
the ``SID Specified'' column of the table in the EXTENDED DESCRIPTION
section, except that the result of supplying a partial SID is
unspecified. A diagnostic message shall be written if the first SID in
the range is not an ancestor of the second SID in the range.
.RE
.IP "\fB\(mix\ \fIlist\fR" 10
Indicate a
.IR list
of deltas to be excluded (forced not to be applied) in the creation of
the generated file. See the
.BR \(mii
option for the
.IR list
format.
.IP "\fB\(mik\fR" 10
Suppress replacement of identification keywords (see below) in the
retrieved text by their value. The
.BR \(mik
option shall be implied by the
.BR \(mie
option.
.IP "\fB\(mil\fR" 10
Write a delta summary into an
.BR l-file .
.IP "\fB\(miL\fR" 10
Write a delta summary to standard output. All informative output that
normally is written to standard output shall be written to standard
error instead, unless the
.BR \(mis
option is used, in which case it shall be suppressed.
.IP "\fB\(mip\fR" 10
Write the text retrieved from the SCCS file to the standard output. No
.BR g-file
shall be created. All informative output that normally goes to the
standard output shall go to standard error instead, unless the
.BR \(mis
option is used, in which case it shall disappear.
.IP "\fB\(mis\fR" 10
Suppress all informative output normally written to standard output.
However, fatal error messages (which shall always be written to the
standard error) shall remain unaffected.
.IP "\fB\(mim\fR" 10
Precede each text line retrieved from the SCCS file by the SID of the
delta that inserted the text line in the SCCS file. The format shall be:
.RS 10 
.sp
.RS 4
.nf
\fB
"%s\et%s", <\fISID\fR>, <\fItext line\fR>
.fi \fR
.P
.RE
.RE
.IP "\fB\(min\fR" 10
Precede each generated text line with the %\fBM\fP% identification
keyword value (see below). The format shall be:
.RS 10 
.sp
.RS 4
.nf
\fB
"%s\et%s", <\fI%M% value\fR>, <\fItext line\fR>
.fi \fR
.P
.RE
.P
When both the
.BR \(mim
and
.BR \(min
options are used, the <\fItext\ line\fP> shall be replaced by the
.BR \(mim
option-generated format.
.RE
.IP "\fB\(mig\fR" 10
Suppress the actual retrieval of text from the SCCS file. It is
primarily used to generate an
.BR l-file ,
or to verify the existence of a particular SID.
.IP "\fB\(mit\fR" 10
Use to access the most recently created (top) delta in a given release
(for example,
.BR "\(mir 1" ),
or release and level (for example,
.BR "\(mir 1.2" ).
.br
.SH OPERANDS
The following operands shall be supported:
.IP "\fIfile\fR" 10
A pathname of an existing SCCS file or a directory. If
.IR file
is a directory, the
.IR get
utility shall behave as though each file in the directory were
specified as a named file, except that non-SCCS files (last component
of the pathname does not begin with
.BR s. )
and unreadable files shall be silently ignored.
.RS 10 
.P
If exactly one
.IR file
operand appears, and it is
.BR '\(mi' ,
the standard input shall be read; each line of the standard input is
taken to be the name of an SCCS file to be processed. Non-SCCS files
and unreadable files shall be silently ignored.
.RE
.SH STDIN
The standard input shall be a text file used only if the
.IR file
operand is specified as
.BR '\(mi' .
Each line of the text file shall be interpreted as an SCCS pathname.
.SH "INPUT FILES"
The SCCS files shall be files of an unspecified format.
.SH "ENVIRONMENT VARIABLES"
The following environment variables shall affect the execution of
.IR get :
.IP "\fILANG\fP" 10
Provide a default value for the internationalization variables that are
unset or null. (See the Base Definitions volume of POSIX.1\(hy2008,
.IR "Section 8.2" ", " "Internationalization Variables"
for the precedence of internationalization variables used to determine
the values of locale categories.)
.IP "\fILC_ALL\fP" 10
If set to a non-empty string value, override the values of all the
other internationalization variables.
.IP "\fILC_CTYPE\fP" 10
Determine the locale for the interpretation of sequences of bytes of
text data as characters (for example, single-byte as opposed to
multi-byte characters in arguments and input files).
.IP "\fILC_MESSAGES\fP" 10
.br
Determine the locale that should be used to affect the format and
contents of diagnostic messages written to standard error, and
informative messages written to standard output (or standard error, if
the
.BR \(mip
option is used).
.IP "\fINLSPATH\fP" 10
Determine the location of message catalogs for the processing of
.IR LC_MESSAGES .
.IP "\fITZ\fR" 10
Determine the timezone in which the times and dates written in the
SCCS file are evaluated. If the
.IR TZ
variable is unset or NULL, an unspecified system default timezone is
used.
.SH "ASYNCHRONOUS EVENTS"
Default.
.SH STDOUT
For each file processed,
.IR get
shall write to standard output the SID being accessed and the number of
lines retrieved from the SCCS file, in the following format:
.sp
.RS 4
.nf
\fB
"%s\en%d lines\en", <\fISID\fR>, <\fInumber of lines\fR>
.fi \fR
.P
.RE
.P
If the
.BR \(mie
option is used, the SID of the delta to be made shall appear after the
SID accessed and before the number of lines generated, in the POSIX
locale:
.sp
.RS 4
.nf
\fB
"%s\ennew delta %s\en%d lines\en", <\fISID accessed\fR>,
    <\fISID to be made\fR>, <\fInumber of lines\fR>
.fi \fR
.P
.RE
.P
If there is more than one named file or if a directory or standard
input is named, each pathname shall be written before each of the lines
shown in one of the preceding formats:
.sp
.RS 4
.nf
\fB
"\en%s:\en", <\fIpathname\fR>
.fi \fR
.P
.RE
.P
If the
.BR \(miL
option is used, a delta summary shall be written following the format
specified below for
.BR l-files .
.P
If the
.BR \(mii
option is used, included deltas shall be listed following the notation,
in the POSIX locale:
.sp
.RS 4
.nf
\fB
"Included:\en"
.fi \fR
.P
.RE
.P
If the
.BR \(mix
option is used, excluded deltas shall be listed following the notation,
in the POSIX locale:
.sp
.RS 4
.nf
\fB
"Excluded:\en"
.fi \fR
.P
.RE
.P
If the
.BR \(mip
or
.BR \(miL
options are specified, the standard output shall consist of the text
retrieved from the SCCS file.
.SH STDERR
The standard error shall be used only for diagnostic messages, except
if the
.BR \(mip
or
.BR \(miL
options are specified, it shall include all informative messages
normally sent to standard output.
.SH "OUTPUT FILES"
Several auxiliary files may be created by
.IR get .
These files are known generically as the
.BR g-file ,
.BR l-file ,
.BR p-file ,
and
.BR z-file .
The letter before the
<hyphen>
is called the
.IR tag .
An auxiliary filename shall be formed from the SCCS filename: the
application shall ensure that the last component of all SCCS filenames
is of the form
.BR s. \c
.IR module-name ;
the auxiliary files shall be named by replacing the leading
.BR s
with the tag. The
.BR g-file
shall be an exception to this scheme: the
.BR g-file
is named by removing the
.BR s.
prefix. For example, for
.BR s.xyz.c ,
the auxiliary filenames would be
.BR xyz.c ,
.BR l.xyz.c ,
.BR p.xyz.c ,
and
.BR z.xyz.c ,
respectively.
.P
The
.BR g-file ,
which contains the generated text, shall be created in the current
directory (unless the
.BR \(mip
option is used). A
.BR g-file
shall be created in all cases, whether or not any lines of text were
generated by the
.IR get .
It shall be owned by the real user. If the
.BR \(mik
option is used or implied, the
.BR g-file
shall be writable by the owner only (read-only for everyone else);
otherwise, it shall be read-only. Only the real user need have write
permission in the current directory.
.P
The
.BR l-file
shall contain a table showing which deltas were applied in generating
the retrieved text. The
.BR l-file
shall be created in the current directory if the
.BR \(mil
option is used; it shall be read-only and it is owned by the real user.
Only the real user need have write permission in the current
directory.
.P
Lines in the
.BR l-file
shall have the following format:
.sp
.RS 4
.nf
\fB
"%c%c%c %s\et%s %s\en", <\fIcode1\fR>, <\fIcode2\fR>, <\fIcode3\fR>,
    <\fISID\fR>, <\fIdate-time\fR>, <\fIlogin\fR>
.fi \fR
.P
.RE
.P
where the entries are:
.IP "<\fIcode1\fP>" 10
A
<space>
if the delta was applied;
.BR '*' 
otherwise.
.IP "<\fIcode2\fP>" 10
A
<space>
if the delta was applied or was not applied and ignored;
.BR '*' 
if the delta was not applied and was not ignored.
.IP "<\fIcode3\fP>" 10
A character indicating a special reason why the delta was or was not
applied:
.RS 10 
.IP "\fBI\fP" 6
Included.
.IP "\fBX\fP" 6
Excluded.
.IP "\fBC\fP" 6
Cut off (by a
.BR \(mic
option).
.RE
.IP "<\fIdate-time\fP>" 10
Date and time (using the format of the
.IR date
utility's
.BR %y /\c
.BR %m /\c
.BR %d
.BR %T
conversion specification format) of creation.
.IP "<\fIlogin\fP>" 10
Login name of person who created
.IR delta .
.P
The comments and MR data shall follow on subsequent lines, indented one
<tab>.
A blank line shall terminate each entry.
.P
The
.BR p-file
shall be used to pass information resulting from a
.IR get
with a
.BR \(mie
option along to
.IR delta .
Its contents shall also be used to prevent a subsequent execution of
.IR get
with a
.BR \(mie
option for the same SID until
.IR delta
is executed or the joint edit flag,
.BR j ,
is set in the SCCS file. The
.BR p-file
shall be created in the directory containing the SCCS file and the
application shall ensure that the effective user has write permission
in that directory. It shall be writable by owner only, and owned
by the effective user. Each line in the
.BR p-file
shall have the following format:
.sp
.RS 4
.nf
\fB
"%s %s %s %s%s%s\en", <\fIg-file SID\fR>,
    <\fISID of new delta\fR>, <\fIlogin-name of real user\fR>,
    <\fIdate-time\fR>, <\fIi-value\fR>, <\fIx-value\fR>
.fi \fR
.P
.RE
.P
where <\fIi\(hyvalue\fP> uses the format
.BR \(dq\^\(dq 
if no
.BR \(mii
option was specified, and shall use the format:
.sp
.RS 4
.nf
\fB
" \(mii%s", <\(mii option \fIoption-argument\fR>
.fi \fR
.P
.RE
.P
if a
.BR \(mii
option was specified and <\fIx\(hyvalue\fP> uses the format
.BR \(dq\^\(dq 
if no
.BR \(mix
option was specified, and shall use the format:
.sp
.RS 4
.nf
\fB
" \(mix%s", <\(mix option \fIoption-argument\fR>
.fi \fR
.P
.RE
.P
if a
.BR \(mix
option was specified. There can be an arbitrary number of lines in the
.BR p-file
at any time; no two lines shall have the same new delta SID.
.P
The
.BR z-file
shall serve as a lock-out mechanism against simultaneous updates. Its
contents shall be the binary process ID of the command (that is,
.IR get )
that created it. The
.BR z-file
shall be created in the directory containing the SCCS file for the
duration of
.IR get .
The same protection restrictions as those for the
.BR p-file
shall apply for the
.BR z-file .
The
.BR z-file
shall be created read-only.
.br
.SH "EXTENDED DESCRIPTION"
.TS
center tab(@) box;
cB s s s s
cB cB cB cB cB
cB cB cB cB cB
l c lw(4.5c) l l.
Determination of SCCS Identification String
=
SID*@\(mib Keyletter@Other@SID@SID of Delta
Specified@Used\(dg@Conditions@Retrieved@to be Created
.sp 1.5p
=
none\(dd@no@R defaults to mR@mR.mL@mR.(mL+1)
_
none\(dd@yes@R defaults to mR@mR.mL@mR.mL.(mB+1).1
.sp 1.5p
=
R@no@R > mR@mR.mL@R.1***
_
R@no@R = mR@mR.mL@mR.(mL+1)
_
R@yes@R > mR@mR.mL@mR.mL.(mB+1).1
_
R@yes@R = mR@mR.mL@mR.mL.(mB+1).1
_
R@\(mi@T{
R < mR and
R does not exist
T}@hR.mL**@hR.mL.(mB+1).1
_
R@\(mi@T{
Trunk successor in release > R
and R exists
T}@R.mL@R.mL.(mB+1).1
.sp 1.5p
=
R.L@no@No trunk successor@R.L@R.(L+1)
_
R.L@yes@No trunk successor@R.L@R.L.(mB+1).1
_
R.L@\(mi@T{
Trunk successor
in release \(>= R
T}@R.L@R.L.(mB+1).1
.sp 1.5p
=
R.L.B@no@No branch successor@R.L.B.mS@R.L.B.(mS+1)
_
R.L.B@yes@No branch successor@R.L.B.mS@R.L.(mB+1).1
.sp 1.5p
=
R.L.B.S@no@No branch successor@R.L.B.S@R.L.B.(S+1)
_
R.L.B.S@yes@No branch successor@R.L.B.S@R.L.(mB+1).1
_
R.L.B.S@\(mi@Branch successor@R.L.B.S@R.L.(mB+1).1
.TE
.IP * 8
R, L, B, and S are the release, level, branch, and sequence components
of the SID, respectively; m means maximum. Thus, for example, R.mL
means ``the maximum level number within release R''; R.L.(mB+1).1 means
``the first sequence number on the new branch (that is, maximum branch
number plus one) of level L within release R''. Note that if the SID
specified is of the form R.L, R.L.B, or R.L.B.S, each of the specified
components shall exist.
.IP ** 8
hR is the highest existing release that is lower than the specified,
nonexistent, release R.
.IP *** 8
This is used to force creation of the first delta in a new release.
.IP "\(dg" 8
The
.BR \(mib
option is effective only if the
.BR b
flag is present in the file. An entry of
.BR '\(mi' 
means ``irrelevant''.
.IP "\(dd" 8
This case applies if the
.BR d
(default SID) flag is not present in the file. If the
.BR d
flag is present in the file, then the SID obtained from the
.BR d
flag is interpreted as if it had been specified on the command line.
Thus, one of the other cases in this table applies.
.SS "System Date and Time"
.P
When a
.BR g-file
is generated, the creation time of deltas in the SCCS file may be taken
into account. If any of these times are apparently in the future, the
behavior is unspecified.
.SS "Identification Keywords"
.P
Identifying information shall be inserted into the text retrieved from
the SCCS file by replacing identification keywords with their value
wherever they occur. The following keywords may be used in the text
stored in an SCCS file:
.IP "%\fBM\fP%" 10
Module name: either the value of the
.BR m
flag in the file, or if absent, the name of the SCCS file with the
leading
.BR s.
removed.
.IP "%\fBI\fP%" 10
SCCS identification (SID) (%\fBR\fR%.%\fBL\fR% or
%\fBR\fR%.%\fBL\fR%.%\fBB\fR%.%\fBS\fR%) of the retrieved text.
.IP "%\fBR\fP%" 10
Release.
.IP "%\fBL\fP%" 10
Level.
.IP "%\fBB\fP%" 10
Branch.
.IP "%\fBS\fP%" 10
Sequence.
.IP "%\fBD\fP%" 10
Current date (\fIYY\fR/\fIMM\fR/\fIDD\fR).
.IP "%\fBH\fP%" 10
Current date (\fIMM\fR/\fIDD\fR/\fIYY\fR).
.IP "%\fBT\fP%" 10
Current time (\fIHH\fR:\fIMM\fR:\fISS\fR).
.IP "%\fBE\fP%" 10
Date newest applied delta was created (\fIYY\fR/\fIMM\fR/\fIDD\fR).
.IP "%\fBG\fP%" 10
Date newest applied delta was created (\fIMM\fR/\fIDD\fR/\fIYY\fR).
.IP "%\fBU\fP%" 10
Time newest applied delta was created (\fIHH\fR:\fIMM\fR:\fISS\fR).
.IP "%\fBY\fP%" 10
Module type: value of the
.BR t
flag in the SCCS file.
.IP "%\fBF\fP%" 10
SCCS filename.
.IP "%\fBP\fP%" 10
SCCS absolute pathname.
.IP "%\fBQ\fP%" 10
The value of the
.BR q
flag in the file.
.IP "%\fBC\fP%" 10
Current line number. This keyword is intended for identifying messages
output by the program, such as ``this should not have happened'' type
errors. It is not intended to be used on every line to provide
sequence numbers.
.IP "%\fBZ\fP%" 10
The four-character string
.BR \(dq@(#)\(dq 
recognizable by
.IR what .
.IP "%\fBW\fP%" 10
A shorthand notation for constructing
.IR what
strings:
.RS 10 
.sp
.RS 4
.nf
\fB
%\^W\^%=%\^Z\^%%\^M\^%<tab>%\^I\^%
.fi \fR
.P
.RE
.RE
.IP "%\fBA\fP%" 10
Another shorthand notation for constructing
.IR what
strings:
.RS 10 
.sp
.RS 4
.nf
\fB
%\^A\^%=%\^Z\^%%\^Y\^%%\^M\^%%\^I\^%%\^Z\^%
.fi \fR
.P
.RE
.RE
.SH "EXIT STATUS"
The following exit values shall be returned:
.IP "\00" 6
Successful completion.
.IP >0 6
An error occurred.
.SH "CONSEQUENCES OF ERRORS"
Default.
.LP
.IR "The following sections are informative."
.SH "APPLICATION USAGE"
Problems can arise if the system date and time have been modified (for
example, put forward and then back again, or unsynchronized clocks
across a network) and can also arise when different values of the
.IR TZ
environment variable are used.
.P
Problems of a similar nature can also arise for the operation of the
.IR delta
utility, which compares the previous file body against the working file
as part of its normal operation.
.SH EXAMPLES
None.
.SH RATIONALE
None.
.SH "FUTURE DIRECTIONS"
None.
.SH "SEE ALSO"
.IR "\fIadmin\fR\^",
.IR "\fIdelta\fR\^",
.IR "\fIprs\fR\^",
.IR "\fIwhat\fR\^"
.P
The Base Definitions volume of POSIX.1\(hy2008,
.IR "Chapter 8" ", " "Environment Variables",
.IR "Section 12.2" ", " "Utility Syntax Guidelines"
.SH COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form
from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
-- Portable Operating System Interface (POSIX), The Open Group Base
Specifications Issue 7, Copyright (C) 2013 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group.
(This is POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
event of any discrepancy between this version and the original IEEE and
The Open Group Standard, the original IEEE and The Open Group Standard
is the referee document. The original Standard can be obtained online at
http://www.unix.org/online.html .

Any typographical or formatting errors that appear
in this page are most likely
to have been introduced during the conversion of the source files to
man page format. To report such errors, see
https://www.kernel.org/doc/man-pages/reporting_bugs.html .