Randal L. Schwartz wrote: >>>>>> "Simon" == Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx> writes: > > Simon> + destname="refs/$branch_top/${name#refs/heads/}" ;; > > I don't think this is portable shell. At least Perl is the same everywhere. > Ignore me if this is a shell syntax on something other than bash. I think ${var#pattern} is a POSIX shell syntax. Nevertheless Perl embedded in shell script is (a bit) horrible. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - 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