CHGHIST(1)
NAME
chghist change the history entry of an SCCS delta
SYNOPSIS
chghist —r SID name ...
DESCRIPTION
Chghist
changes the history information, for the delta specified by the SID, of each named SCCS file. If a directory is named, chghist
behaves as though each file in the directory were specified as a named file, except that non-SCCS files (last component of the pathname does not begin with ’s.’), and unreadable files, are silently ignored. If a name of ’—’ is given, the standard input is read; each line of the standard input is taken to be the name of an SCCS file to be processed. Again, non-SCCS files, and unreadable files, are silently ignored. The exact permissions necessary to change the history entry of a delta are documented in the SCCS/PWB User’s Manual.
Simply stated, they are either (1) if you made a delta, you can change its history entry; or (2) if you own the file and directory you can change a history entry. The new history is read from the standard input. If the standard input is a terminal, the program will prompt with ´MRs? ’ (only if the file has a v flag, see admin
(I)) and with ´comments? ’. If the standard input is not a terminal, no prompt(s) is (are) printed. A newline preceded by a ’\’ is read as a blank, and may be used to make the entering of the history more convenient. The first newline not preceded by a ’\’ terminates the response for the corresponding prompt. When the history entry of a delta table record (see prt
(I)) is changed, all old MR entries (if any) are converted to comments, and both these and the original comments are preceded by a comment line that indicates who made the change and when it was made. The new information is entered preceding the old. No other changes are made to the delta table entry.
FILES
x-file(see delta
(I)) z-file(see delta
(I))
SEE ALSO
admin(1), get(1), delta(1), prt(1), help(1), sccsfile(5)
SCCS/PWB User’s Manual
by L. E. Bonanni and A. L. Glasser.
DIAGNOSTICS
Use help
(1) for explanations.