X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft8006-blame-textconv.sh;h=c3c22f7764adc1542579dfddf1b47a687a93607a;hb=78f4c9f62549fdd9a52550449c4e3148e7e0900d;hp=4ee42f12f0af6bc7e4b072350f88988b85e40cbb;hpb=2cb1ff9ac35ff043e377f78e36a57422a6846485;p=git.git diff --git a/t/t8006-blame-textconv.sh b/t/t8006-blame-textconv.sh index 4ee42f12f..c3c22f776 100755 --- a/t/t8006-blame-textconv.sh +++ b/t/t8006-blame-textconv.sh @@ -10,7 +10,7 @@ find_blame() { cat >helper <<'EOF' #!/bin/sh grep -q '^bin: ' "$1" || { echo "E: $1 is not \"binary\" file" 1>&2; exit 1; } -sed 's/^bin: /converted: /' "$1" +perl -p -e 's/^bin: /converted: /' "$1" EOF chmod +x helper