[original email was sent only to me] On Sat, Aug 14, 2010 at 5:25 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote: > Mark Lodato wrote: > >> ${var:2} >> Zsh uses $var[3,-1] to trim the first two characters. There is no >> way to write cross-shell code to accomplish this, so we must wrap >> this in a check for zsh. > > Maybe > > ${var#??} Good idea. I'll include this in the next version of the patch. -- 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