Commit Graph

7 Commits

Author SHA1 Message Date
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
Andrey A. Chernov 83d7542f35 Pick collate info too 1996-08-12 17:55:41 +00:00
Wolfram Schneider 12e1f465dd recursive grep, enabled with -DHAVE_FTS=1
enable mmap (-DHAVE_MMAP=1)
1996-02-02 06:45:26 +00:00
Andrey A. Chernov 9203a11a55 Add setlocale LC_CTYPE
Fix icase searches for 8bit charsets
1995-10-28 19:16:14 +00:00
Rodney W. Grimes 4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Nate Williams c0db29cc59 Update GNU grep to version 2.0 1993-07-06 18:45:26 +00:00
Nate Williams 717f769197 Gnu e?grep 1.6 1993-06-29 06:04:45 +00:00