DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Source code control system (SCCS)

Recording changes by using delta

Modify the lang file by adding two more programming languages:

SNOBOL
Ada

To record the changes made to lang, issue the following command:

delta s.lang

The following prompt appears:

comments?

Respond with a meaningful description of the changes just applied to the file. For example:

   comments? added more languages
The delta command now reads the p-file (p.lang) and determines what changes have occurred. It does this by performing its own get to retrieve the original version, and applying the diff(C) command. The delta command compares the original and the edited versions of the lang file: it determines the differences and stores those changes in s.lang. The p.lang and lang files, which are no longer needed, are automatically removed.

When this process is complete, delta outputs the following:

   1.2             (1.2 is the SID of the delta just created)
   2 inserted      (indicates how many new lines are in the file)
   0 deleted       (indicates how many lines were deleted from the file)
   5 unchanged     (indicates unchanged lines in the file)

Next topic: Additional information about get
Previous topic: Retrieving a file by means of get

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003