freebsd kernel with SKQ
Go to file
Wolfram Schneider d7c71d3534 grep -q pattern file
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
1996-09-27 19:44:46 +00:00
bin add forgotten $Id$ 1996-09-22 21:56:57 +00:00
contrib Temporarily disable the code that wants to add -lstdc++ in tge g++ driver 1996-09-27 05:13:40 +00:00
eBones Fix up some compilation warnings. 1996-09-22 00:55:46 +00:00
etc Fix a possible syntax error in rc when swapfile isn't defined at all. 1996-09-22 06:36:49 +00:00
games Eliminated includes of the "temporary" backwards compatibility header 1996-09-24 08:08:11 +00:00
gnu grep -q pattern file 1996-09-27 19:44:46 +00:00
include
lib Peter must be sick of this, so I changed it directly. Fixed: 1996-09-27 16:22:49 +00:00
libexec add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
lkm add forgotten $Id$ 1996-09-22 21:56:57 +00:00
release Rate limit the "xxx bytes read from" message to a maximum of one per 1996-09-26 22:12:07 +00:00
sbin Add chlen command so you can set the size of an inode. This was handy 1996-09-26 19:40:04 +00:00
secure
share Back out changes in rev. 1.217 -- ${CONFIGURE_SCRIPT} is not 1996-09-24 06:48:22 +00:00
sys Added -I- to ${INCLUDES}. This makes 4.4Lite's (mis?)use of "foo.h" 1996-09-27 16:34:16 +00:00
tools
usr.bin Fix for PR# 1231, make(1) execution of ``.BEGIN'' does 1996-09-25 02:55:49 +00:00
usr.sbin Rate limit the "xxx bytes read from" message to a maximum of one per 1996-09-26 22:12:07 +00:00
COPYRIGHT
Makefile Unlocalize date 1996-09-21 06:06:41 +00:00