1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/gnu
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
..
gnu2bmake recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
include missed these parts of Bruce's changes last time.. 1996-08-30 21:57:39 +00:00
lib Eliminated includes of the "temporary" backwards compatibility header 1996-09-24 08:08:11 +00:00
libexec make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
usr.bin grep -q pattern file 1996-09-27 19:44:46 +00:00
usr.sbin Toss the GNU yp_mkdb into the attic. 1996-04-28 04:08:22 +00:00
COPYING Updated GNU utilities 1993-06-18 04:22:21 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Remove games from the SUBDIR list. Gnu Chess is in ports now. 1995-12-23 17:03:07 +00:00