From: Jeff King <peff@peff.net>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Junio C Hamano <junkio@cox.net>,
Szekeres Istvan <szekeres@iii.hu>,
git@vger.kernel.org
Subject: Re: Bug: git-rebase goofs up \n in commit messages
Date: Sat, 26 May 2007 03:47:04 -0400 [thread overview]
Message-ID: <20070526074703.GA2563@coredump.intra.peff.net> (raw)
In-Reply-To: <20070526073855.GA6395@gondor.apana.org.au>
On Sat, May 26, 2007 at 05:38:55PM +1000, Herbert Xu wrote:
> Yep. Section 2.2.3 says that the backslash within double quotes will
> only serve as an escape character for $, `, ", \ and <newline>. Of
> course, you can always use a single quote instead, i.e.,
>
> printf '%s\n' "$VAR"
>
> Then there can be no doubt :)
Right, I wasn't sure if the single quotes were necessary, but it looks
like Junio's version (with doublequotes) is also fine according to
POSIX. Thanks again.
-Peff
next prev parent reply other threads:[~2007-05-26 7:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 21:11 Bug: git-rebase goofs up \n in commit messages Szekeres Istvan
2007-05-26 0:40 ` Jeff King
2007-05-26 1:10 ` Herbert Xu
2007-05-26 3:42 ` Jeff King
2007-05-26 3:59 ` Junio C Hamano
2007-05-26 4:59 ` Junio C Hamano
2007-05-26 6:07 ` Jeff King
2007-05-26 6:13 ` Junio C Hamano
2007-05-26 6:19 ` Herbert Xu
2007-05-26 6:27 ` Jeff King
2007-05-26 7:38 ` Herbert Xu
2007-05-26 7:47 ` Jeff King [this message]
2007-05-26 7:47 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070526074703.GA2563@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=junkio@cox.net \
--cc=szekeres@iii.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).