sbase

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

commit 5c821d43efe1cc1364ce60990e6fe38d571a9278
parent e6df377504b60e231ee6de60f2ba0e5dd0975fab
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri Nov 21 23:29:38 +0100

grep: reset inverse flag if both are set

Diffstat:
grep.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/grep.c b/grep.c @@ -61,6 +61,7 @@ main(int argc, char *argv[]) break; case 'H': Hflag = 1; + hflag = 0; break; case 'e': arg = EARGF(usage()); @@ -80,6 +81,7 @@ main(int argc, char *argv[]) break; case 'h': hflag = 1; + Hflag = 0; break; case 'c': case 'l':