Nazri Ramliy <ayiehere@xxxxxxxxx> writes: > + sed -i "s/^\([a-z]\+\) [0-9a-f]\+ /\1 $REPLACE_COMMIT_ID /" \ This is not portable. Escaping an ERE element with a backslash does not make it suitable for use in BRE that sed uses. Do we use in-place replacement anywhere else with sed? I don't think it is portable, either. -- 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