0

Is there a way to automatically add a comment when updating a file in RCS? For example, I am writing a script, and one of the functions will co -l a file, make changes, then ci -u. Now at that point, RCS waits for a comment to be entered. I want the comment to be automatically added so the script does not stop at that point. Is this even possible?

cottageDog
  • 33
  • 1
  • 4

1 Answers1

2

The -m option to ci accepts a messages string. No space is permitted after the -m:

ci -u -m'This is a message' file
William Pursell
  • 204,365
  • 48
  • 270
  • 300