sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit 6327290cf273766b6ebef9af750951844fef4942
parent 1ca8a314f80274d06c887aa347ecb142487a946d
Author: Michael Forney <mforney@mforney.org>
Date:   Sun,  2 Nov 2014 03:08:13 +0000

grep: Fix -c flag

Diffstat:
Mgrep.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grep.c b/grep.c @@ -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':