From: Junio C Hamano Date: Thu, 02 Aug 2007 21:12:26 GMT Subject: Re: Shell script cleanups/style changes? Message-ID: <7v1welvdxh.fsf@assigned-by-dhcp.cox.net> In-Reply-To: "Nguyen Thai Ngoc Duy" writes: > On 8/2/07, Junio C Hamano 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.