t / t7500 / edit-contenton commit t5505: use "for-each-ref" to test for the non-existence of references (2eb7a0e)
   1#!/bin/sh
   2sed -e "s/intermediate/edited/g" <"$1" >"$1-"
   3mv "$1-" "$1"
   4exit 0