Removes the history information from INed structured files.
rmhist [ -d ] [ -f ] [ -kNumber] File ...
The rmhist command takes the specified file or files and removes the history information from each file. The files are backed up so that the old versions of the files are available as the File.bak file. If any of the files are not structured files, a warning message is displayed, and no action is taken on these nonstructured files.
Note: If the system date was set to a future date, the modification dates are invalid, and the rmhist command removes all history except the last history. It then resets the date for that record. You can correct this problem by using the ghost command. Enter the future date as the mm/dd/yy parameter to the ghost command, and then use the rmhist command to remove the history.
rmhist -dk3 myfile
rmhist testfile afile
The e command, ghost command, readfile command, versions command.
INed Editor Overview in AIX Version 4.3 INed Editor User's Guide introduces general concepts about the INed editor.
How to Access Previous Versions of a File with the INed Editor.