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 <jrnieder@xxxxxxxxx>: > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html