The git attribute "ident" fails here: sed '2,/and the template file/d /\$Id:/d /Last template edit:/d' getopt-test_${testname}.c The pattern match for ident should be (shell syntax): $'\$Id(:[^$\n]+\$|\$)' In other words, it is not a multi-line pattern. I was looking for a bugzilla entry here: http://git-scm.com/ but I did not see a bug reporting method. -- 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