Michael Haggerty schrieb: > + test -z "$EXPECT_HEADER_COUNT" || > + test "$EXPECT_HEADER_COUNT" = $(sed -n '1s/^# This is a combination of \(.*\) commits\./\1/p' < "$1") || > + exit Is an empty $EXPECT_HEADER_COUNT an error? I suppose it isn't; therefore, you must put the second 'test' and the 'exit' in a brace group. You should also put the $(sed) in double-quotes. -- Hannes -- 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