"Nguyen Thai Ngoc Duy" [off-list ref] writes:
On 8/2/07, Junio C Hamano [off-list ref] wrote:
quoted
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.