diff --git a/git-am.sh b/git-am.sh
index 151512afd383ed86b5a8310c53e7910db5b87e90..512891d217fc34ed5ff9992ed0b3dc7ff23f0bb0 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
# and see if it looks like that they all begin with the
# header field names...
sed -n -e '/^$/q' -e '/^[ ]/d' -e p "$1" |
# and see if it looks like that they all begin with the
# header field names...
sed -n -e '/^$/q' -e '/^[ ]/d' -e p "$1" |
- LC_ALL=C egrep -v '^[!-9;-~]+:' >/dev/null ||
+ sane_egrep -v '^[!-9;-~]+:' >/dev/null ||
patch_format=mbox
fi
} < "$1" || clean_abort
patch_format=mbox
fi
} < "$1" || clean_abort
stop_here $this
# skip pine's internal folder data
stop_here $this
# skip pine's internal folder data
- grep '^Author: Mail System Internal Data$' \
+ sane_grep '^Author: Mail System Internal Data$' \
<"$dotest"/info >/dev/null &&
go_next && continue
<"$dotest"/info >/dev/null &&
go_next && continue