Jeff King <peff@xxxxxxxx> writes: > Some versions of sed (like the one on Solaris) don't like to > match literal tabs, and simply print nothing. Instead, let's > use cut. > -sha1=$(sed -e 's/ .*//' .git/rr-cache/MERGE_RR) This is a bit hard to believe. On one of my ancient Sun box: $ uname -a SunOS sic.twinsun.com 5.8 Generic_117350-45 sun4u sparc SUNW,UltraSPARC-IIi-Engine $ ls -l /bin/sed -r-xr-xr-x 1 root bin 28748 Aug 2 2005 /bin/sed the above "sed" does not misbehave (/bin/sh does, of course, on $(...), but that is a different story). -- 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