The git attribute "ident" fails here:
sed '2,/and the template file/d
/\$Id:/d
/Last template edit:/d' getopt-test_${testname}.cThe 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.