Re: [PATCH] Documentation/githooks: Explain pre-rebase parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 19, 2013 at 02:17:43PM +0100, Thomas Rast wrote:
> "W. Trevor King" <wking@xxxxxxxxxx> 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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]