Re: Shell script cleanups/style changes?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 2, 2007, 21:12 UTC
- Message-ID
- <7v1welvdxh.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <fcaeb9bf0708021356v57b29a70yb69a2fa000bd5b55@mail.gmail.com>
"Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:
Show 7 quoted lines
> On 8/2/07, Junio C Hamano <gitster@pobox.com> wrote:
>> Non POSIX substitions such as ${parameter/pattern/string} and
>> ${parameter:offset} are not to be used. We do not want to
>> depend on bash.
>
> There is in a test (t5300-pack-objects.sh) but I guess the
> restrictions do not apply on tests.That would have been an earlier mistake. Keeping tests portable is important, perhaps it might be of lessor importance but still.