summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep
Commit message (Collapse)AuthorAgeFilesLines
...
* | Support the environtmental var "GREP_OPTIONS". Which can hold a set ofDavid E. O'Brien1999-11-262-0/+69
| | | | | | | | | | | | | | | | | | | | default options for diff. These options are interpreted first and can be overwritten by explicit command line parameters. Obtained from: GNU Grep 2.3h Notes: svn path=/head/; revision=53705
* | GNU killed this sometime before 2.3.David E. O'Brien1999-11-241-15/+0
| | | | | | | | Notes: svn path=/head/; revision=53668
* | Missed two.David E. O'Brien1999-11-221-2/+2
| | | | | | | | | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=53601
* | This commit was generated by cvs2svn to compensate for changes in r53574,David E. O'Brien1999-11-223-6/+83
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=53575
| * Virgin import of GNU Grep 2.3 [trimmed down].David E. O'Brien1999-11-223-6/+83
| | | | | | | | Notes: svn path=/vendor/misc-GNU/dist1/; revision=53574
* | Make the tests work again.David E. O'Brien1999-11-221-2/+2
| | | | | | | | Notes: svn path=/head/; revision=53571
* | spencer.tests is now spencer1.tests. The other files aren't part ofDavid E. O'Brien1999-11-223-156/+0
| | | | | | | | | | | | | | GNU Grep any longer. Notes: svn path=/head/; revision=53570
* | This commit was generated by cvs2svn to compensate for changes in r53568,David E. O'Brien1999-11-2214-0/+652
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=53569
| * Virgin import of GNU Grep 2.3 [trimmed down].David E. O'Brien1999-11-2214-0/+652
| | | | | | | | Notes: svn path=/vendor/misc-GNU/dist1/; revision=53568
* | Finish proper hookup of GNU Grep 2.3, including docs & config header file,David E. O'Brien1999-11-221-22/+35
| | | | | | | | | | | | | | | | | | rather than the compile commandline from hell. Submitted by: ru Notes: svn path=/head/; revision=53567
* | Build and install GNU Grep 2.3 docs.David E. O'Brien1999-11-221-0/+6
| | | | | | | | Notes: svn path=/head/; revision=53566
* | This commit was generated by cvs2svn to compensate for changes in r53564,David E. O'Brien1999-11-222-0/+675
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=53565
| * Virgin import of a trimmed down GNU Grep 2.3.David E. O'Brien1999-11-222-0/+675
| | | | | | | | Notes: svn path=/vendor/misc-GNU/dist1/; revision=53564
| * Virgin import of a trimmed down GNU Grep 2.3.David E. O'Brien1999-11-211-62/+164
| | | | | | | | | | | | | | | | | | It is being re-imported here, to keep our long source change history with this source continuous. src/contrib/grep will be deleted some time in the very near future. Notes: svn path=/vendor/misc-GNU/dist1/; revision=53480
* | Restore the 2.3 config file.David E. O'Brien1999-11-211-0/+188
| | | | | | | | Notes: svn path=/head/; revision=53519
* | Apply a bandaid to the grep Makefile to try and get it to compile and stopPeter Wemm1999-11-211-2/+3
| | | | | | | | | | | | | | breaking world. Notes: svn path=/head/; revision=53496
* | Spell command names correctly. Even when they appear at the beginningDavid E. O'Brien1999-11-211-3/+3
| | | | | | | | | | | | | | of a sentence. Notes: svn path=/head/; revision=53482
* | Merge FreeBSD changes into 2.3:David E. O'Brien1999-11-211-89/+168
| | | | | | | | | | | | | | | | | | * revs 1.5-6 - added builtin decompression using zlib library, option -Z. Submitted by: ru Notes: svn path=/head/; revision=53481
* | Merge FreeBSD changes into 2.3:David E. O'Brien1999-11-211-74/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rev 1.2 - use -lgnuregex FreeBSD changes OBE'ed by 2.3: * revs 1.4-5 - icase searches & ctype macro changes, fuctionality moved elsewhere. * rev 1.3 - Remove trailing whitespace. The GNU Grep maintainers did this for us. Submitted by: ru Notes: svn path=/head/; revision=53479
* | Alias -R to -r for backward compatibility.David E. O'Brien1999-11-211-2/+3
| | | | | | | | | | | | | | | | Submitted by: ru Requested by: wosch Notes: svn path=/head/; revision=53478
* | Set default matcher from argv[0].David E. O'Brien1999-11-211-546/+825
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge FreeBSD changes into 2.3: * revs 1.9-10 - built-in decompression using zlib(3) library FreeBSD changes OBE'ed by 2.3: * rev 1.7 - our "-q" flag. Use "-L" or "-l" now. * revs 1.{4,6} - colleate, and with correct LC_ type. * rev 1.3 - remove trailing whitespace. Submitted by: ru Notes: svn path=/head/; revision=53477
* | This is the stock 2.3 file (+ FreeBSD id). Since someone added 2.0 ratherDavid E. O'Brien1999-11-205-187/+425
| | | | | | | | | | | | | | | | than vendor importing the virgin 2.0 sources, we have to manually put this on the HEAD branch. Notes: svn path=/head/; revision=53475
* | This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMEDDavid E. O'Brien1999-11-203-229/+503
| | | | | | | | | | | | | | | | the repository by NOT vendor importing the virgin 2.0 sources, CVS had no idea what to do here. Notes: svn path=/head/; revision=53474
* | This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMEDDavid E. O'Brien1999-11-201-19/+32
| | | | | | | | | | | | | | | | the repository by NOT vendor importing the virgin 2.0 sources, CVS had no idea what to do here. Notes: svn path=/head/; revision=53473
* | Merge FreeBSD changes into 2.3:David E. O'Brien1999-11-201-167/+264
| | | | | | | | | | | | | | | | | | | | * rev 1.5 - use collate for alpha character ranges * rev 1.3 - use -lgnuregex Submitted by: ru Notes: svn path=/head/; revision=53472
* | This commit was generated by cvs2svn to compensate for changes in r53469,David E. O'Brien1999-11-205-0/+579
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=53470
| * Virgin import of a trimmed down GNU Grep 2.3.David E. O'Brien1999-11-2018-999/+2588
| | | | | | | | | | | | | | | | | | It is being re-imported here, to keep our long source change history with this source continuous. src/contrib/grep will be deleted some time in the very near future. Notes: svn path=/vendor/misc-GNU/dist1/; revision=53469
| * This commit was manufactured by cvs2svn to create tag 'grep_2_0'.cvs2svn1993-07-0623-3815/+9982
| | | | | | | | Notes: svn path=/cvs2svn/tags/grep_2_0/; revision=95
* | Back out the botched attempt to update to gnu grep 2.3 (lots of historyPeter Wemm1999-11-2021-230/+7886
| | | | | | | | | | | | | | | | | | | | was lost). Restore original version to try and avoid breaking the build while David O'brien does a proper set of imports and merges. Requested by: obrien Notes: svn path=/head/; revision=53451
* | Upgrade grep to version 2.3Ruslan Ermilov1999-10-2821-7886/+230
| | | | | | | | Notes: svn path=/head/; revision=52591
* | Cast tp[-2] to unsigned char before comparing.Ruslan Ermilov1999-10-131-1/+3
| | | | | | | | | | | | | | | | | | PR: 14011 Ignored by: maintainer Obtained from: GNU grep 2.3 Notes: svn path=/head/; revision=52209
* | $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | | | | | Notes: svn path=/head/; revision=50472
* | Added myself as maintainer.Wolfram Schneider1999-02-091-1/+3
| | | | | | | | Notes: svn path=/head/; revision=43805
* | Use mmap for reading files. This is faster than read().Wolfram Schneider1998-11-141-2/+2
| | | | | | | | Notes: svn path=/head/; revision=41155
* | Install z*grep manpagesDavid E. O'Brien1998-10-021-1/+2
| | | | | | | | Notes: svn path=/head/; revision=39886
* | Fixed printf format errors.Bruce Evans1998-06-301-1/+1
| | | | | | | | Notes: svn path=/head/; revision=37313
* | Delete cc(1) debug option, typo from last commit.Wolfram Schneider1998-03-071-2/+1
| | | | | | | | | | | | | | Pointed out by: Søren Schmidt Notes: svn path=/head/; revision=34189
* | When called as `zgrep', the -Z argument is assumed. Make aWolfram Schneider1997-12-213-2/+17
| | | | | | | | | | | | | | | | | | | | link from zgrep to grep. Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and Mike Smith <mike@smith.net.au> Notes: svn path=/head/; revision=31928
* | Added builtin decompression using zlib library, option -Z.Wolfram Schneider1997-12-203-67/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabled this new feature with the makefile variable GREP_LIBZ. If you don't like it, compile with `make GREP_LIBZ='. grep + zlib has several advantages: - the shell script zgrep(1) will be basically a one line exec grep -Z "$@" - no shell script, no bugs. The current zgrep implementations have many bugs and some grep options are no supported. - no shell script, no security risks. - it is a magnitude faster than a shell script Also fixed: 0 -> STDIN_FILENO Close a file descriptor only if the open call was successfully. It does not hurt for the open(2) function, but the gzclose(3) function died in free() to free up (not) allocated memory. Notes: svn path=/head/; revision=31900
* | Add unsigned char cast to ctype macrosAndrey A. Chernov1997-10-231-1/+1
| | | | | | | | Notes: svn path=/head/; revision=30657
* | Add (unsigned char) casts to ctype macrosAndrey A. Chernov1997-10-232-24/+24
| | | | | | | | Notes: svn path=/head/; revision=30654
* | Fix a number of typos, one of which is part of PR# 2917.Mike Pritchard1997-03-091-4/+4
| | | | | | | | Notes: svn path=/head/; revision=23552
* | Replace collate_range_cmp call with its code (GNU version)Andrey A. Chernov1996-10-311-3/+17
| | | | | | | | Notes: svn path=/head/; revision=19284
* | grep -q pattern fileWolfram Schneider1996-09-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=18522
* | test 37: [b-a] is a syntax error and exit with status 2Wolfram Schneider1996-09-271-1/+1
| | | | | | | | Notes: svn path=/head/; revision=18521
* | Use collate for alpha character rangesAndrey A. Chernov1996-08-131-0/+25
| | | | | | | | Notes: svn path=/head/; revision=17578
* | Pick collate info tooAndrey A. Chernov1996-08-121-1/+1
| | | | | | | | Notes: svn path=/head/; revision=17548
* | recursive grep, enabled with -DHAVE_FTS=1Wolfram Schneider1996-02-023-20/+261
| | | | | | | | | | | | | | enable mmap (-DHAVE_MMAP=1) Notes: svn path=/head/; revision=13847
* | This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-301-30/+0
| | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* | recording cvs-1.6 file deathPeter Wemm1995-12-302-5477/+0
| | | | | | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122