d7c71d3534
search 'pattern' in whole file 'file', from top to bottom. This is not necessary; if grep found 'pattern' it can stop further searching in file 'file'. Example: $ time ./grep-old -q Adam /usr/share/dict/* 1.93 real 1.05 user 0.85 sys $ time ./grep-new -q Adam /usr/share/dict/* 0.14 real 0.06 user 0.06 sys |
||
---|---|---|
.. | ||
gnu2bmake | ||
include | ||
lib | ||
libexec | ||
usr.bin | ||
usr.sbin | ||
COPYING | ||
COPYING.LIB | ||
Makefile |