* [PATCH 1/2] xfstests-bld: get-results: add -a option for grep, to process binary files as text
@ 2014-04-12 10:07 Azat Khuzhin
2014-04-14 14:00 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Azat Khuzhin @ 2014-04-12 10:07 UTC (permalink / raw)
To: linux-ext4, tytso; +Cc: Azat Khuzhin
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-14 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-12 10:07 [PATCH 1/2] xfstests-bld: get-results: add -a option for grep, to process binary files as text Azat Khuzhin
2014-04-14 14:00 ` Theodore Ts'o
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).