t / t7500 / edit-contenton commit regex: -G<pattern> feeds a non NUL-terminated string to regexec() and fails (db5dfa3)
   1#!/bin/sh
   2sed -e "s/intermediate/edited/g" <"$1" >"$1-"
   3mv "$1-" "$1"
   4exit 0