Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Source Code Control System
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==SCCS basic commands== SCCS provides a set of commands in the form of macro invocations that perform or initiate source code management functions with a simple syntax, such as create, get, edit, prt.<ref>[http://sccs.sourceforge.net/man/sccs.me.html An Introduction to the Source Code Control System ] Eric Allman, Project Ingres, University of California at Berkeley</ref><ref>[http://docs.oracle.com/cd/E19504-01/802-5880/6i9k05dhp/index.html Source Code Control System] Programming Utilities Guide</ref> It also provides access to the revision history of files under management. These commands are implemented as argument verbs to the driver program ''sccs''. === Create === The sccs command ''create'' uses the text of a source file to create a new history file. For example: <syntaxhighlight lang="console"> $ sccs create program.c program.c: 1.1 87 lines </syntaxhighlight> The outputs are name, version and lines. The command is a macro that expands to ''admin'' to create the new history file followed by ''get'' to retrieve the file. === Edit === <syntaxhighlight lang="console"> $ sccs edit program.c 1.1 new delta 1.2 87 lines </syntaxhighlight> Edit a specific file. The command is a macro that expands to ''get -e''. === Delget === <syntaxhighlight lang="console"> $ sccs delget program.c comments? main function enhanced 1.2 10 inserted 0 deleted 87 unchanged 1.2 97 lines </syntaxhighlight> Check in new version and get the new version from sccs. The command is a macro that expands to ''delta'' to check in the new version file followed by ''get'' to retrieve the file. === Get === <syntaxhighlight lang="console"> $ sccs get program.c 1.1 87 lines </syntaxhighlight> The outputs are version and lines you want to get from specific file. === Prt === <syntaxhighlight lang="console"> $ sccs prt program.c </syntaxhighlight> This command produces a report of source code changes.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)