当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Creating, Editing, and Updating
 

 

 ·sccs chapter 1    »显示摘要«
    摘要:introduction to sccs (source code control system)introduction to sccsthe sccs commands form a complete system for creating, editing, converting, or changing the controls on sccs files. an sccs file is......
 ·tuning mysql    »显示摘要«
    摘要: discussion about optimise mysql to handle a high traffic website. tim cto, digital content solutionsmysql settings, many concurrent users. i run a site for a client that has over 3000 users that log ......


SCCS Chapter 3
上一页   ...to start the test.c file with a release number of 3.1, use the -r flag with the admin command, as follows:

attention: do not edit sccs files directly with non-sccs commands, or you can damage the sccs files. 【程序编程相关:http://www.myfaq.com

admin -itest.c -r3 s.test.c

editing an sccs file 【推荐阅读:[连载]GNU 文本实用程序简介----

get gets a specified version of an sccs file for editing or compiling. to edit an sccs file, enter the get command with the -e flag to produce an editable version of the file:

【扩展信息:ulimit使用简介

get -e s.test.c 1.3 new delta 1.4 67 lines ls p.test.c s.test.c test.c

the get command produces two new files, p.test.c and test.c. the editable file is test.c. the p.test.c file is a temporary, uneditable file used by sccs to keep track of file versions. it will disappear when you update your changes to the sccs file. notice also that the get command prints the sid of the version built for editing, the sid assigned to the new delta when you update your changes, and the number of lines in the file.

use any editor to edit test.c, for example:


...   下一页
 ·环境变量与保留字符    »显示摘要«
    摘要:狂晕!谁知道“\”的资料 (6)shell环境变量 cdpath 用于cd命令的查找路径 home /etc/passwd文件中列出的用户主目录 ifs internal field separator,默认为空格,tab及换行符 mail /var/mail/$username mail等程序使用 path ps1,ps2 默认提示符($)及换行提示符(>) term 终端类型,常用的有v......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE