"Jason Pyeron" <[email protected]> writes:
>> Is this complex pipeline the same as this (I didn't understand the
>> trailing I at the end)?
>
> Case insensitive, could have used [0-9a-fA-F].
Ahh, a GNU extension.
>> git cat-file commit "$newrev" |
>> sed -ne '/^gpgsig /,/^ -----END/{
>> s/^gpgsig //
>> s/^ //p
>> }' |
>
> Will all future signature values end with a "^ -----END"?
If it bothers you, alternatively, you can stop at the end of the
commit object header, i.e.
/^gpgsig /,/^$/{
s/^gigsig//
s/^ //p
}
but I do not think it matters that much ;-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html