[ On , June 8, 2003 at 10:46:45 (+0300), Stephen Biggs wrote: ] > Subject: Re: Command-line multi-line messages for commit > > Actually, your method sounds to me much more painful because I have to > learn how to use sed to do this and run and test the wrapper script over > and over again until I debug it due to my limited expertise in coding > shell scripts, living with bogus messages in a junk repository until I > get it right. My way is quicker and much simpler for me as long as I > remember to put the quotes right.
Why the heck don't you use a proper command shell and then you can just type multi-line comments right there on the command-line!?!?!? cvs commit -m 'first line second line third line' filname.c I.e. DO NOT use 'csh'. It is the source of your problems. Use a POSIX compatible shell instead (e.g. sh or ksh or one of their close variants). Here's a demonstration copied from a terminal window. The "$ " is of course my primary shell prompt ($PS1). The ">>> " is my secondary shell prompt ($PS2): $ echo 'first line >>> second line >>> third line' first line second line third line $ Note too that if you're going to be doing this kind of thing it wouldn't hurt to learn to use the other tools you could find useful. -- Greg A. Woods +1 416 218-0098; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Planix, Inc. <[EMAIL PROTECTED]>; VE3TCP; Secrets of the Weird <[EMAIL PROTECTED]> _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs