"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.
Oh, but they definitely should. Precisely on those platforms with
shells not generally in use by the developers it becomes _most_
important to reliably be able to trace failed tests to problems with
the _commands_, not problems with the tests.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum