summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/grep
Commit message (Collapse)AuthorAgeFilesLines
* Sync up to CURRENT and note the -P option is not supported on FreeBSD.Tom Rhodes2006-11-031-0/+1
| | | | | | | | | PR: 99831 Reviewed by: ru Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163943
* MFC(rev.1.25):Hiroki Sato2006-03-211-5/+35
| | | | | | | | | | | | Correctly locate the character proceeding the matched string in -w mode when in non-UTF-8 multibyte locales (e.g. EUC, GB2312, etc.). PR: gnu/91909 Silence from: tjr Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=156968
* MFC v1.28 by ru:Remko Lodder2005-12-261-0/+2
| | | | | | | | | | fix a markup nit. PR: docs/88848 Prodded by: remko Notes: svn path=/stable/6/; revision=153740
* MFC: Fix 'grep -Fw' for encodings other than UTF-8 (RH bug #161700).Jung-uk Kim2005-10-271-2/+2
| | | | | | | | | PR: 87969 Approved by: re (scottl) Obtained from: Fedora (Tim Waugh) Notes: svn path=/stable/6/; revision=151734
* MFC: Fix a longstanding buglet in bz-prefixed grep(1).Jung-uk Kim2005-10-261-5/+5
| | | | | | | | PR: gnu/72200 Approved by: re Notes: svn path=/stable/6/; revision=151712
* Pass the RE_ICASE flag to re_set_syntax() as appropriate to fixTim J. Robbins2005-05-311-3/+3
| | | | | | | | | case-insensitive matching (-i option) in certain multibyte locales. Obtained from: Fedora Notes: svn path=/head/; revision=146820
* Add a note explaining what local modifications have been made to GNU grep,Tim J. Robbins2005-05-141-0/+37
| | | | | | | and giving advice on importing future releases. Notes: svn path=/head/; revision=146208
* Fixed -w handling for EGexecute.Tim J. Robbins2005-05-141-4/+83
| | | | | | | Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=146207
* Automatically disable DFA when processing multibyte input. GREP_USE_DFATim J. Robbins2005-05-141-3/+28
| | | | | | | | | environment variable overrides. Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=146206
* Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi forTim J. Robbins2005-05-141-131/+525
| | | | | | | | | multibyte input (RH bug #143079). Obtained from: Fedora (Jakub Jelinek, Tim Waugh) Notes: svn path=/head/; revision=146205
* Removed redundant (and incorrect) code in prline. Fixes grep -i --color "",Tim J. Robbins2005-05-141-27/+0
| | | | | | | | | | among other things. PR: 79063 Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=146204
* Fix background colour problems with --color output (RH bug #138913).Tim J. Robbins2005-05-141-0/+1
| | | | | | | Obtained from: Karsten Hopp via Fedora Notes: svn path=/head/; revision=146203
* Fixed a bug in the fgrep patch, exposed by the dfa-optional patchTim J. Robbins2005-05-141-27/+22
| | | | | | | | | (RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch. Obtained from: Fedora (Jakub Jelinek, Tim Waugh) Notes: svn path=/head/; revision=146201
* Fix dfa multibyte character class matching when -i is used (RH bug #123363).Tim J. Robbins2005-05-141-0/+2
| | | | | | | Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=146200
* Remove mb-caching hack.Tim J. Robbins2005-05-146-188/+74
| | | | | | | Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=146199
* Fix regression in output with -R compared to previous version.David E. O'Brien2005-02-131-1/+1
| | | | | | | | PR: 77466 Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> Notes: svn path=/head/; revision=141847
* The correct name of the long option is --line-buffered,Giorgos Keramidas2004-11-091-2/+3
| | | | | | | | | | | not --line-bufferring. PR: docs/72985 Submitted by: John Engelhart <johne@zang.com> MFC after: 1 week Notes: svn path=/head/; revision=137465
* Change version string to distinguish our modified version of GNU grepTim J. Robbins2004-08-121-1/+1
| | | | | | | from the original. Notes: svn path=/head/; revision=133552
* Fix bug causing `[' to be wrongly included in character class expressionsTim J. Robbins2004-07-041-1/+1
| | | | | | | | | in some multibyte locales (Red Hat bug #108484). Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=131578
* Make grep run much (~10x) faster in multibyte locales by caching the wideTim J. Robbins2004-07-046-74/+188
| | | | | | | | | | character representation of input data across calls to dfaexec(), and by caching the lengths of character across calls to check_multibyte_string(). Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=131576
* Avoid accessing accessing memory past the end of mb_properties in theTim J. Robbins2004-07-041-1/+2
| | | | | | | | degenerate case of fgrep with an empty pattern in a multibyte locale. Found by phkmalloc. Notes: svn path=/head/; revision=131569
* Improve case-insensitive matching in multibyte locales.Tim J. Robbins2004-07-043-28/+109
| | | | | | | Obtained from: Isamu Hasegawa (IBM) via Fedora Notes: svn path=/head/; revision=131564
* Fix failure of fgrep to report some matches (Red Hat bug #116909).Tim J. Robbins2004-07-041-57/+52
| | | | | | | Obtained from: Fedora (Tim Waugh) Notes: svn path=/head/; revision=131563
* Use hard_locale() to check whether collating order is "hard" regardlessTim J. Robbins2004-07-041-2/+0
| | | | | | | of whether NLS is enabled. Notes: svn path=/head/; revision=131561
* Ignore ENABLE_NLS when deciding whether we can use setlocale().Tim J. Robbins2004-07-041-2/+4
| | | | | | | Use the same shortcut as glibc to test for the "C" or "POSIX" locale. Notes: svn path=/head/; revision=131560
* Update for grep 2.5.1.Tim J. Robbins2004-07-042-120/+254
| | | | Notes: svn path=/head/; revision=131558
* Merge local changes.Tim J. Robbins2004-07-049-876/+2669
| | | | Notes: svn path=/head/; revision=131557
* This commit was generated by cvs2svn to compensate for changes in r131554,Tim J. Robbins2004-07-0445-247/+5611
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=131555
| * Import GNU grep 2.5.1 (trimmed)vendor/misc-GNU/grepTim J. Robbins2004-07-0454-1113/+8274
| | | | | | | | Notes: svn path=/vendor/misc-GNU/dist1/; revision=131554
* | Merge conflicts, upgradeAndrey A. Chernov2004-03-018-41/+51
| | | | | | | | Notes: svn path=/head/; revision=126435
* | This commit was generated by cvs2svn to compensate for changes in r126432,Andrey A. Chernov2004-03-018-10/+94
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=126433
| * Trimmed grep 2.4.2Andrey A. Chernov2004-03-0114-45/+136
| | | | | | | | Notes: svn path=/vendor/misc-GNU/dist1/; revision=126432
* | Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnuAndrey A. Chernov2004-02-171-1/+1
| | | | | | | | Notes: svn path=/head/; revision=125931
* | 1) Remove files no longer needed.Andrey A. Chernov2004-02-168-1673/+2
| | | | | | | | | | | | | | 2) Switch back to regex.h Notes: svn path=/head/; revision=125894
* | Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-051-4/+2
| | | | | | | | Notes: svn path=/head/; revision=125503
* | We HAVE_STPCPY now.David E. O'Brien2002-10-202-4/+3
| | | | | | | | Notes: svn path=/head/; revision=105502
* | Added bzip2 variants to the NAME section.Ruslan Ermilov2002-10-071-4/+9
| | | | | | | | | | | | | | | | Added missing break. Remove the statement that -J requires zlib(3). Notes: svn path=/head/; revision=104614
* | Allow -J to simultaneously do non-bzip2 grepping.David E. O'Brien2002-10-061-10/+32
| | | | | | | | | | | | | | | | | | Don't allow -J and -Z together. Partially submitted by: knu Notes: svn path=/head/; revision=104555
* | Create bzgrep.David E. O'Brien2002-09-163-0/+45
| | | | | | | | Notes: svn path=/head/; revision=103372
* | Typo in [^[:alnum:]] character class.Giorgos Keramidas2002-08-311-1/+1
| | | | | | | | | | | | | | | | PR: docs/41728 Submitted by: osgene@web.de Notes: svn path=/head/; revision=102661
* | Mention zegrep and zfgrep too,Giorgos Keramidas2002-07-111-1/+7
| | | | | | | | | | | | | | | | | | | | and what their equivalent grep options are. PR: docs/35603 Submitted by: "Gary W. Swearingen" <swear@blarg.net> Notes: svn path=/head/; revision=99809
* | Removed glibc specific stuff.Ruslan Ermilov2001-11-271-25/+0
| | | | | | | | | | | | | | PR: docs/31431 Notes: svn path=/head/; revision=86946
* | In FreeBSD, -Z is reserved for zgrep(1), and onlyRuslan Ermilov2001-09-191-2/+2
| | | | | | | | | | | | | | | | | | a long version of the --null option is supported. PR: gnu/30644 Notes: svn path=/head/; revision=83661
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-4/+0
| | | | | | | | Notes: svn path=/head/; revision=79454
* | This file was not regenerated for the latest import, thus theRuslan Ermilov2000-12-131-1/+1
| | | | | | | | | | | | | | reported grep version is wrong. The correct version is 2.4d. Notes: svn path=/head/; revision=69983
* | Restore backwards compatible -R option.Ruslan Ermilov2000-05-301-1/+1
| | | | | | | | | | | | | | | | | | Broken in revision 1.17. Noticed by: hoek Notes: svn path=/head/; revision=61088
* | Merge FreeBSD changes into 2.4d.Ruslan Ermilov2000-01-313-237/+210
| | | | | | | | Notes: svn path=/head/; revision=56920
* | Merge FreeBSD changes into 2.4d.Ruslan Ermilov2000-01-311-191/+92
| | | | | | | | | | | | | | | | FreeBSD changes OBE'ed by 2.4d: * rev 1.5 - use collate for alpha character ranges. Notes: svn path=/head/; revision=56919
* | This is the stock GNU grep 2.4d file.Ruslan Ermilov2000-01-316-343/+390
| | | | | | | | Notes: svn path=/head/; revision=56918
* | This commit was generated by cvs2svn to compensate for changes in r56915,Ruslan Ermilov2000-01-319-72/+203
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=56916