All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [PATCH 1/2] xfstests-bld: get-results: add -a option for grep, to process binary files as text
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2014-04-14 14:00 UTC (permalink / raw)
  To: Azat Khuzhin; +Cc: linux-ext4

On Sat, Apr 12, 2014 at 02:07:22PM +0400, Azat Khuzhin wrote:
> 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>

Thanks, applied.

					- Ted

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.