Read sed script from stdin - this works with larger template replacements