Commit | Line | Data |
---|---|---|
39ae1365 | 1 | .TH SCCS 1 |
39ae1365 EA |
2 | .SH NAME |
3 | sccs \- front end for the | |
4 | .SM SCCS | |
5 | subsystem | |
6 | .SH SYNOPSIS | |
7 | .B sccs | |
8 | [ | |
9 | .B \-r | |
10 | ] [ | |
11 | .BI \-p path | |
12 | ] command [ flags ] [ args ] | |
13 | .SH DESCRIPTION | |
14 | .I Sccs | |
15 | is a front end | |
2de7ab2b EA |
16 | to the |
17 | .SM SCCS | |
18 | programs | |
19 | that help them mesh more cleanly | |
39ae1365 | 20 | with the rest of UNIX. |
af83554c EA |
21 | It also includes the capability to run |
22 | ``set user id'' to another user | |
23 | to provide additional protection. | |
39ae1365 EA |
24 | .PP |
25 | Basically, | |
26 | .I sccs | |
27 | runs the | |
28 | .I command | |
29 | with the specified | |
30 | .I flags | |
31 | and | |
32 | .I args. | |
33 | Each | |
34 | argument | |
35 | is modified to be prepended | |
324bd523 | 36 | with ``SCCS/s.'' |
39ae1365 EA |
37 | unless it begins with ``s.'', |
38 | contains a `\|/\|' character, | |
39 | or specifies a directory. | |
40 | .PP | |
41 | Flags to be interpreted by the | |
42 | .I sccs | |
43 | program must be before the | |
44 | .I command | |
45 | argument. | |
46 | Flags to be passed to the actual | |
47 | .SM SCCS | |
48 | program | |
49 | must come after the | |
50 | .I command | |
51 | argument. | |
52 | These flags are specific to the command | |
53 | and are discussed in the documentation for that command. | |
54 | .PP | |
55 | The | |
56 | .B \-r | |
57 | flag runs | |
58 | .I sccs | |
59 | as the real user | |
af83554c EA |
60 | rather than as whatever effective user |
61 | .I sccs | |
62 | is ``set user id'' to. | |
39ae1365 EA |
63 | The |
64 | .B \-p | |
70caf673 EA |
65 | flag defines the pathname of the directory |
66 | in which | |
39ae1365 | 67 | .SM SCCS |
70caf673 EA |
68 | will be found; |
69 | ``SCCS'' is the default. | |
70 | .PP | |
71 | Certain commands (such as | |
72 | .IR admin ) | |
af83554c EA |
73 | cannot be run ``set user id'' by all users, |
74 | since this would allow anyone to change the authorizations. | |
75 | These commands are always run as the real user. | |
39ae1365 EA |
76 | .SH EXAMPLES |
77 | .de BX | |
78 | .nf | |
79 | .in +0.5i | |
80 | .sp 0.3 | |
81 | .. | |
82 | .de EX | |
83 | .fi | |
84 | .in -0.5i | |
85 | .sp 0.3 | |
86 | .. | |
87 | To get a file for editting, | |
88 | edit it, | |
89 | and produce a new delta: | |
90 | .BX | |
2de7ab2b EA |
91 | sccs get \-e file.c |
92 | ex file.c | |
93 | sccs delta file.c | |
39ae1365 EA |
94 | .EX |
95 | To get a file from another directory: | |
96 | .BX | |
2de7ab2b | 97 | sccs \-p/usr/src/sccs/s. get cc.c |
39ae1365 EA |
98 | .EX |
99 | or | |
100 | .BX | |
2de7ab2b | 101 | sccs get /usr/src/sccs/s.cc.c |
39ae1365 EA |
102 | .EX |
103 | To make a delta of a large number of files | |
104 | in the current directory: | |
105 | .BX | |
2de7ab2b | 106 | sccs delta *.c |
39ae1365 EA |
107 | .EX |
108 | In a makefile, to get source files | |
109 | from an | |
110 | .SM SCCS | |
111 | file if it does not already exist: | |
112 | .BX | |
113 | SRCS = <list of source files> | |
114 | OBJS = <list of object files> | |
115 | .sp 0.4 | |
116 | $(OBJS): $(SRCS) | |
117 | .sp 0.4 | |
70caf673 EA |
118 | $(SRCS): |
119 | sccs get $(REL) $@ | |
39ae1365 EA |
120 | .EX |
121 | .SH "SEE ALSO" | |
122 | admin(SCCS), | |
123 | chghist(SCCS), | |
124 | comb(SCCS), | |
125 | delta(SCCS), | |
126 | get(SCCS), | |
127 | help(SCCS), | |
128 | prt(SCCS), | |
129 | rmdel(SCCS), | |
130 | sccsdiff(SCCS), | |
131 | what(SCCS), | |
39ae1365 | 132 | .SH AUTHOR |
2de7ab2b | 133 | Eric Allman (ingres:eric) |
39ae1365 EA |
134 | .SH DISCLAIMER |
135 | Since it is not yet clear | |
136 | what this program should do, | |
137 | it should not be considered | |
138 | a stable program product. | |
139 | Please send any | |
140 | constructive suggestions | |
2de7ab2b | 141 | to ingres:eric. |