Name
rcs
Synopsis
rcs [options] <files
Description
An administrative command for setting up or changing the default attributes of RCS files. Among other things, rcs lets you set strict locking (-L), delete revisions (-o), and override locks set by co (-l and -u). RCS files have an access list (created via -a); anyone whose username is on the list can run rcs. The access list is often empty, meaning that rcs is available to everyone. In addition, you can always invoke rcs if you own the file, if you’re a privileged user, or if you run rcs with -i. rcs accepts the standard options -q, -V, -x, and -z.
Options
- -a users
Append the comma-separated list of users to the access list.
- -A otherfile
Append otherfile’s access list to the access list of files.
- -b[R]
Set the default branch to R or, if R is omitted, to the highest branch on the trunk.
- -c`s'
The comment character for $Log keywords is set to string s. By default, co expands embedded $Log keywords into comments preceded by #. You could, for example, set s to .\" for troff files or set s to * for C programs. (You would need to manually insert an enclosing /* and */ before and after $Log.)
- -e[users]
Erase everyone (or only the specified users) from the access list.
- -i
Create (initialize) an RCS file, but don’t deposit a revision.
- -I
Interactive mode; prompt user even when standard input is not a terminal. (New in RCS Version 5.)
- -k c
Use c as the default style for keyword substitution. (See co for values of c.) -kkv restores the default ...
Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.