3.1.1 admin usage

To create an SCCS archive of a source file foo.c, do

admin -ifoo.c s.foo.c

This creates the archive file s.foo.c and initialises it with the current contents of your source file, foo.c. If you use Emacs as your editor, you can just use C-x v i instead.

When the input file foo.c is executable, the resulting history file s.foo.c is also executable, subject to the current umask setting. This behaviour follows that of Solaris; other SCCS implementations may not do this.

Another frequently-used option is ‘-b’, which indicates that the file is to be treated as a binary file rather than as text. You might want to do this because the file actually contains binary data, or just characters that have other meanings within an SCCS file, for example ‘^A’, the character whose code is 1.