* Karl Chen [Sun, 04 Jan 2009 04:40:51 -0800]: > Arnaud> $ git branch | awk '/^\*/ {print $2}' > Yet another addition to the list of ways to pipeline it, this one > probably the shortest :) Heh, if we're playing golf: $ git branch | sed -n 's/^\* //p' -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Que no te vendan amor sin espinas -- Joaquín Sabina, Noches de boda -- 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