From: Elia Pinto Date: Tue, 30 Oct 2012 22:17:31 GMT Subject: Re: [PATCH] test-lib: avoid full path to store test results Message-ID: In-Reply-To: <20121030070152.GA13324@elie.Belkin> Thanks. I know that posix support these usages, but exists some traditional shell that not support it. These are described in the autoconf manual, last time i have checked. As the construct ; export var = x should be portable, but it is not. If this is important these days i don't know. Best 2012/10/30, Jonathan Nieder : > 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 > -- Inviato dal mio dispositivo mobile