From: Azat Khuzhin <a3at.mail@gmail.com>
To: linux-ext4@vger.kernel.org, tytso@mit.edu
Cc: Azat Khuzhin <a3at.mail@gmail.com>
Subject: [PATCH 1/2] xfstests-bld: get-results: add -a option for grep, to process binary files as text
Date: Sat, 12 Apr 2014 14:07:22 +0400 [thread overview]
Message-ID: <1397297243-12130-1-git-send-email-a3at.mail@gmail.com> (raw)
Since logs can have some _non ASCII_ symbols and grep think that this is
a binary file.
Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com>
---
kvm-xfstests/get-results | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kvm-xfstests/get-results b/kvm-xfstests/get-results
index be4a729..4151e36 100755
--- a/kvm-xfstests/get-results
+++ b/kvm-xfstests/get-results
@@ -1,2 +1,2 @@
#!/bin/sh
-egrep "(^BEGIN)|(^END)|(^Ran: )|(^Failures: )|(^Passed)|(inconsistent)" $*
+egrep -a "(^BEGIN)|(^END)|(^Ran: )|(^Failures: )|(^Passed)|(inconsistent)" $*
--
1.9.0
next reply other threads:[~2014-04-12 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-12 10:07 Azat Khuzhin [this message]
2014-04-14 14:00 ` [PATCH 1/2] xfstests-bld: get-results: add -a option for grep, to process binary files as text Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1397297243-12130-1-git-send-email-a3at.mail@gmail.com \
--to=a3at.mail@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).