Reputation: 3445
I would like to be able to do a cvs commit, but provide multi-line comments from a file instead of letting cvs invoke the editor. Is this even possible?
Upvotes: 0
Views: 391
Reputation: 31467
This probably do the job:
cvs commit -m "$(cat file)" modified_file.c
Upvotes: 0
Reputation: 4567
Supposing you did mean commit, not update, which does not require comments, you could do
cvs commit -m `cat file_containing_multiline_comments` file_to_commit
Upvotes: 0