[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command-line multi-line messages for commit
From: |
Mark D. Baushke |
Subject: |
Re: Command-line multi-line messages for commit |
Date: |
Tue, 03 Jun 2003 01:13:13 -0700 |
Stephen Biggs <address@hidden> writes:
> Greetings all,
>
> How do I enter in multi-line log messages when I want to commit?
There are two typical ways to do this. Use either
cat <<EOF > logmessage
This
is
a
multiline
log message.
EOF
cvs commit -F logmessage
or
cvs commit -m 'This
is
a
multiline
log message.'
to do your commit.
> I tried using "\n", "\\n", "^L" in the quoted text string for the "-m"
> option but no go; all are on the same line with the quoted string in the
> log message. Running bash on Linux, Redhat 8.0. I tried embedding for
> bash using $'\n' but this whole string gets put into the log.
Just use multiple lines in bash with your string broken across multiple
lines.
> Basically how do I embed 0xa characters directly into the command line
> for the commit command? This might be more related to straight Linux
> command line usage, and if this is off-topic, please excuse. Any
> assistance would be appreciated.
Enjoy!
-- Mark