From: "W. Trevor King" <wking@tremily.us>
To: Thomas Rast <trast@student.ethz.ch>
Cc: Git <git@vger.kernel.org>, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] Documentation/githooks: Explain pre-rebase parameters
Date: Tue, 19 Feb 2013 08:23:31 -0500 [thread overview]
Message-ID: <20130219132331.GD5125@odin.tremily.us> (raw)
In-Reply-To: <878v6ksars.fsf@pctrast.inf.ethz.ch>
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
On Tue, Feb 19, 2013 at 02:17:43PM +0100, Thomas Rast wrote:
> "W. Trevor King" <wking@tremily.us> writes:
> > I haven't been able to find documentation for the ${1+"$@"} syntax.
> > Is it in POSIX? It's not in the Bash manual:
> [...]
> > In my local tests, it seems equivalent to "$@".
>
> It's definitely in the bash manual and POSIX[1]: it's a special case of
> the ${parameter+word} expansion.
I need to read more carefully ;). There's even a nice table in the
POSIX specs…
Thanks,
Trevor
--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-02-19 13:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 11:03 [PATCH] Documentation/githooks: Explain pre-rebase parameters W. Trevor King
2013-02-19 13:17 ` Thomas Rast
2013-02-19 13:23 ` W. Trevor King [this message]
2013-02-19 17:05 ` Junio C Hamano
2013-02-19 19:08 ` Junio C Hamano
2013-02-20 16:36 ` W. Trevor King
2013-02-20 17:23 ` Junio C Hamano
2013-02-23 15:27 ` [PATCH v2] " W. Trevor King
2013-02-23 21:21 ` Junio C Hamano
2013-02-23 21:35 ` W. Trevor King
2013-02-24 8:13 ` 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=20130219132331.GD5125@odin.tremily.us \
--to=wking@tremily.us \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=trast@student.ethz.ch \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.