diff options
author | Jani Nikula <jani@nikula.org> | 2012-12-04 23:26:33 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-08 09:19:34 -0400 |
commit | 540a34d096035ebf0c79990f030210b3fb65fa4f (patch) | |
tree | d701d508d5028a3fd83261bbb4cb3eb20f724bd1 | |
parent | 60e79e3a9f1c8f054bd3f064714a9e92e8fe13b8 (diff) |
test: use perl instead of sed -r for portability
Our OS X users report -r is not a supported option for sed. Use perl
instead.
-rw-r--r-- | test/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index 94875261..fd64736b 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -581,7 +581,7 @@ NOTMUCH_NEW () notmuch_search_sanitize () { - sed -r -e 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/' + perl -pe 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/' } NOTMUCH_SHOW_FILENAME_SQUELCH='s,filename:.*/mail,filename:/XXX/mail,' |