1
0
mirror of git://git.suckless.org/sbase synced 2024-12-27 01:12:19 +00:00

Break out on first match

This commit is contained in:
sin 2014-11-20 17:02:48 +00:00
parent a1844fae70
commit fe48fbc4e1

1
grep.c
View File

@ -222,6 +222,7 @@ grep(FILE *fp, const char *str)
break;
}
match = Match;
break;
}
}
if (mode == 'c')