Source Code Control System (SCCS)



next up previous contents index
Next: Placing Files under Up: UNIX TOOLS AND Previous: Anatomy of a

Source Code Control System (SCCS)

The source code control system SCCS is a set of commands which helps you keep track of the changes made to source code (or any text) files.gif It's like a friendly librarian and accountant for your files who even helps you restore your files to the condition they were in at some previous time. The SCCS is particularly handy when a group is making changes to the same source code or a single person likes to try out lots of changes but keeps forgetting how to get the code back to where it runs.   

Like saving receipts for your income tax, most of us know we should use SCCS but never get around to making the time investment. Accordingly, we show you three simple steps which afford you the benefits of SCCS quickly:


SCCS SUBCOMMANDS
admin -i file.f s.file.f
Put subs under SCCS control.
get s.file.f
Retrieve, read only.
get -e s.file.f
Retrieve, read/write (e = edit).
get -p s.file.f | more
Retrieve, just peak.
delta s.file.f
Store changes.
prs s.file.f
List revisions.





next up previous contents index
Next: Placing Files under Up: UNIX TOOLS AND Previous: Anatomy of a