On Sat, Aug 04, 2007 at 12:31:26PM +0200, martin f krafft wrote: > also sprach Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> [2007.08.04.0122 +0200]: > > sed -ne '/^URL: */{ > > s///p > > q > > }' "$GIT_DIR/remotes/$1" > > Looks like it prints the first matching line: > > grep '^URL: *' | head -1 No, it prints everything _except_ "URL: *" from the first matching line. -Peff - 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