{"thread":{"id":"24223","subject":"[PATCH] t/t9001: use egrep when regular expressions are involved","startedAt":"2010-06-28T22:46:22Z","lastAt":"2010-06-28T22:46:22Z","messageCount":1,"participants":["Brandon Casey"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"144425","messageId":"_N29gMstbxoMxTYcMQECjVdQPNE8os2yuDS4zgtxw7xeZoP8pckXHsBNVLrsPCEEMmoFN-o4mDU@cipher.nrlssc.navy.mil","threadId":"24223","inReplyTo":null,"subject":"[PATCH] t/t9001: use egrep when regular expressions are involved","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2010-06-28T22:46:22Z","receivedAt":"2010-06-28T22:46:22Z","isPatch":true,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"From: Brandon Casey <drafnel@gmail.com>\n\nSupplying backslashed, extended regular expressions to grep is not\nportable.  Use egrep instead.\n\nSigned-off-by: Brandon Casey <casey@nrlssc.navy.mil>\n---\n t/t9001-send-email.sh |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh\nindex 37610db..23597cc 100755\n--- a/t/t9001-send-email.sh\n+++ b/t/t9001-send-email.sh\n@@ -943,7 +943,7 @@ test_expect_success 'asks about and fixes 8bit encodings' '\n \tgrep \"do not declare a Content-Transfer-Encoding\" stdout &&\n \tgrep email-using-8bit stdout &&\n \tgrep \"Which 8bit encoding\" stdout &&\n-\tgrep \"Content\\\\|MIME\" msgtxt1 >actual &&\n+\tegrep \"Content|MIME\" msgtxt1 >actual &&\n \ttest_cmp actual content-type-decl\n '\n \n@@ -954,7 +954,7 @@ test_expect_success 'sendemail.8bitEncoding works' '\n \tgit send-email --from=author@example.com --to=nobody@example.com \\\n \t\t\t--smtp-server=\"$(pwd)/fake.sendmail\" \\\n \t\t\temail-using-8bit >stdout &&\n-\tgrep \"Content\\\\|MIME\" msgtxt1 >actual &&\n+\tegrep \"Content|MIME\" msgtxt1 >actual &&\n \ttest_cmp actual content-type-decl\n '\n \n@@ -966,7 +966,7 @@ test_expect_success '--8bit-encoding overrides sendemail.8bitEncoding' '\n \t\t\t--smtp-server=\"$(pwd)/fake.sendmail\" \\\n \t\t\t--8bit-encoding=UTF-8 \\\n \t\t\temail-using-8bit >stdout &&\n-\tgrep \"Content\\\\|MIME\" msgtxt1 >actual &&\n+\tegrep \"Content|MIME\" msgtxt1 >actual &&\n \ttest_cmp actual content-type-decl\n '\n \n-- \n1.6.6.2\n"}]}