Re: [PATCH] test-lib: avoid full path to store test results
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 30, 2012, 07:01 UTC
- Message-ID
- <20121030070152.GA13324@elie.Belkin>
- In-Reply-To
- <CA+EOSB=Rr8czjVJfA+F6DmHjDUBy0QQ-wd4t-3Uwb1Ksoadr0Q@mail.gmail.com>
Elia Pinto wrote:
> The shell word splitting done in base is a bashism, iow not portable.
No, ${varname##glob} is in POSIX and we already use it here and there. See Documentation/CodingGuidelines:
- We use ${parameter#word} and its [#%] siblings, and their
doubled "longest matching" form.Thanks for looking the patch over. Jonathan