[dev] [sbase] [PATCH 2/2] grep: Fix -c flag

From: Michael Forney <mforney_AT_mforney.org>
Date: Sun, 2 Nov 2014 03:08:13 +0000

---
 grep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grep.c b/grep.c
index 1376513..489f6e7 100644
--- a/grep.c
+++ b/grep.c
_AT_@ -42,11 +42,11 @@ main(int argc, char *argv[])
 	case 'E':
 		flags |= REG_EXTENDED;
 		break;
-	case 'c':
 	case 'e':
 		addpattern(EARGF(usage()));
 		eflag = true;
 		break;
+	case 'c':
 	case 'l':
 	case 'n':
 	case 'q':
-- 
2.1.3.1.g339ec9c
Received on Sun Nov 02 2014 - 04:08:13 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 02 2014 - 04:12:16 CET