Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Part of r245761 makes "grep -D skip" broken for pipes, i.e. | ache | 2013-08-08 | 1 | -5/+7 |
| | | | | | | | echo xxx | grep -D skip xxx returns nothing. Instead of just removing added S_ISFIFO condition (originally absent in this version of grep), make it work as latest GNU version does: don't skip directories and devices if fd == STDIN_FILENO. | ||||
* | Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this | jkim | 2013-06-06 | 1 | -2/+1 |
| | | | | | | actually reverts r250860 and r250861. Reported by: gjb, tinderbox | ||||
* | Connect libgnuregex 2.17 to the build. | jkim | 2013-06-05 | 1 | -1/+2 |
| | |||||
* | Don't look for headers outside of the source or object directories. In | marcel | 2013-05-21 | 1 | -1/+1 |
| | | | | | | | particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine. Obtained from: Juniper Networks, Inc. | ||||
* | grep: change some int types. | pfg | 2013-05-20 | 3 | -9/+11 |
| | | | | | | | | | | | | | | | | Change several int variables to size_t, ssize_t, or ptrdiff_t. This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable. This is based on NetBSD's revision which says: This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3. Obtained from: NetBSD MFC after: 3 days | ||||
* | Make "-D skip" option work with FIFO by opening file in non-blocking mode. | davidxu | 2013-01-22 | 1 | -2/+6 |
| | | | | | Reviewed by: jhb Tested by: delphij | ||||
* | Build and install a BSD licensed grep. | obrien | 2011-05-25 | 1 | -0/+15 |
| | | | | | | | | If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be '[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep will be 'gnugrep'. Discussed with: brooks | ||||
* | For files not named on the command line, only the basename is compared | obrien | 2009-01-30 | 1 | -2/+5 |
| | | | | | | | | | to the exclude pattern. Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM. Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson) Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000] Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html | ||||
* | Add the -P option back, but with a note that it is not supported on FreeBSD. | trhodes | 2006-10-11 | 1 | -0/+6 |
| | | | | Requested by: ru | ||||
* | grep -P xxx file.txt | trhodes | 2006-10-10 | 1 | -5/+0 |
| | | | | | | | "The -P option is not supported" Removed from the manual page via this commit. PR: 99831 | ||||
* | Correctly locate the character preceeding the matched string in -w | tjr | 2006-02-19 | 1 | -5/+35 |
| | | | | | | mode when in non-UTF-8 multibyte locales (e.g. EUC, GB2312, etc.). PR: 91909 | ||||
* | Fix a markup nit. | ru | 2005-12-18 | 1 | -0/+1 |
| | | | | | PR: docs/88848 Prodded by: remko | ||||
* | Fix 'grep -Fw' for encodings other than UTF-8 (RH bug #161700). | tjr | 2005-10-25 | 1 | -2/+2 |
| | | | | | PR: 87969 Obtained from: Fedora (Tim Waugh) | ||||
* | Document [:blank:]. | stefanf | 2005-10-23 | 1 | -0/+1 |
| | |||||
* | Remove redundant string length check from the previous commit. | jkim | 2005-10-21 | 1 | -2/+2 |
| | |||||
* | Fix a longstanding buglet in bz-prefixed grep(1). | jkim | 2005-10-20 | 1 | -5/+5 |
| | |||||
* | Pass the RE_ICASE flag to re_set_syntax() as appropriate to fix | tjr | 2005-05-31 | 1 | -3/+3 |
| | | | | | | case-insensitive matching (-i option) in certain multibyte locales. Obtained from: Fedora | ||||
* | Add a note explaining what local modifications have been made to GNU grep, | tjr | 2005-05-14 | 1 | -0/+37 |
| | | | | and giving advice on importing future releases. | ||||
* | Fixed -w handling for EGexecute. | tjr | 2005-05-14 | 1 | -4/+83 |
| | | | | Obtained from: Fedora (Tim Waugh) | ||||
* | Automatically disable DFA when processing multibyte input. GREP_USE_DFA | tjr | 2005-05-14 | 1 | -3/+28 |
| | | | | | | environment variable overrides. Obtained from: Fedora (Tim Waugh) | ||||
* | Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi for | tjr | 2005-05-14 | 1 | -131/+525 |
| | | | | | | multibyte input (RH bug #143079). Obtained from: Fedora (Jakub Jelinek, Tim Waugh) | ||||
* | Removed redundant (and incorrect) code in prline. Fixes grep -i --color "", | tjr | 2005-05-14 | 1 | -27/+0 |
| | | | | | | | among other things. PR: 79063 Obtained from: Fedora (Tim Waugh) | ||||
* | Fix background colour problems with --color output (RH bug #138913). | tjr | 2005-05-14 | 1 | -0/+1 |
| | | | | Obtained from: Karsten Hopp via Fedora | ||||
* | Fixed a bug in the fgrep patch, exposed by the dfa-optional patch | tjr | 2005-05-14 | 1 | -27/+22 |
| | | | | | | (RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch. Obtained from: Fedora (Jakub Jelinek, Tim Waugh) | ||||
* | Fix dfa multibyte character class matching when -i is used (RH bug #123363). | tjr | 2005-05-14 | 1 | -0/+2 |
| | | | | Obtained from: Fedora (Tim Waugh) | ||||
* | Remove mb-caching hack. | tjr | 2005-05-14 | 6 | -188/+74 |
| | | | | Obtained from: Fedora (Tim Waugh) | ||||
* | Fix regression in output with -R compared to previous version. | obrien | 2005-02-13 | 1 | -1/+1 |
| | | | | | PR: 77466 Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> | ||||
* | The correct name of the long option is --line-buffered, | keramida | 2004-11-09 | 1 | -2/+3 |
| | | | | | | | | not --line-bufferring. PR: docs/72985 Submitted by: John Engelhart <johne@zang.com> MFC after: 1 week | ||||
* | Change version string to distinguish our modified version of GNU grep | tjr | 2004-08-12 | 1 | -1/+1 |
| | | | | from the original. | ||||
* | Fix bug causing `[' to be wrongly included in character class expressions | tjr | 2004-07-04 | 1 | -1/+1 |
| | | | | | | in some multibyte locales (Red Hat bug #108484). Obtained from: Fedora (Tim Waugh) | ||||
* | Make grep run much (~10x) faster in multibyte locales by caching the wide | tjr | 2004-07-04 | 6 | -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) | ||||
* | Avoid accessing accessing memory past the end of mb_properties in the | tjr | 2004-07-04 | 1 | -1/+2 |
| | | | | | degenerate case of fgrep with an empty pattern in a multibyte locale. Found by phkmalloc. | ||||
* | Improve case-insensitive matching in multibyte locales. | tjr | 2004-07-04 | 3 | -28/+109 |
| | | | | Obtained from: Isamu Hasegawa (IBM) via Fedora | ||||
* | Fix failure of fgrep to report some matches (Red Hat bug #116909). | tjr | 2004-07-04 | 1 | -57/+52 |
| | | | | Obtained from: Fedora (Tim Waugh) | ||||
* | Use hard_locale() to check whether collating order is "hard" regardless | tjr | 2004-07-04 | 1 | -2/+0 |
| | | | | of whether NLS is enabled. | ||||
* | Ignore ENABLE_NLS when deciding whether we can use setlocale(). | tjr | 2004-07-04 | 1 | -2/+4 |
| | | | | Use the same shortcut as glibc to test for the "C" or "POSIX" locale. | ||||
* | Update for grep 2.5.1. | tjr | 2004-07-04 | 2 | -120/+254 |
| | |||||
* | Merge local changes. | tjr | 2004-07-04 | 9 | -881/+2674 |
| | |||||
* | This commit was generated by cvs2svn to compensate for changes in r131554, | tjr | 2004-07-04 | 45 | -248/+5612 |
|\ | | | | | | | which included commits to RCS files with non-trunk default branches. | ||||
| * | Import GNU grep 2.5.1 (trimmed) | tjr | 2004-07-04 | 54 | -1119/+8280 |
| | | |||||
* | | Merge conflicts, upgrade | ache | 2004-03-01 | 8 | -41/+51 |
| | | |||||
* | | This commit was generated by cvs2svn to compensate for changes in r126432, | ache | 2004-03-01 | 8 | -10/+94 |
|\ \ | |/ | | | | | which included commits to RCS files with non-trunk default branches. | ||||
| * | Trimmed grep 2.4.2 | ache | 2004-03-01 | 14 | -45/+136 |
| | | |||||
* | | Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu | ache | 2004-02-17 | 1 | -1/+1 |
| | | |||||
* | | 1) Remove files no longer needed. | ache | 2004-02-16 | 8 | -1673/+2 |
| | | | | | | | | 2) Switch back to regex.h | ||||
* | | Fixed style of DPADD and LDADD assignments as per style.Makefile(5). | ru | 2004-02-05 | 1 | -4/+2 |
| | | |||||
* | | We HAVE_STPCPY now. | obrien | 2002-10-20 | 2 | -4/+3 |
| | | |||||
* | | Added bzip2 variants to the NAME section. | ru | 2002-10-07 | 1 | -4/+9 |
| | | | | | | | | | | Added missing break. Remove the statement that -J requires zlib(3). | ||||
* | | Allow -J to simultaneously do non-bzip2 grepping. | obrien | 2002-10-06 | 1 | -10/+32 |
| | | | | | | | | | | | | Don't allow -J and -Z together. Partially submitted by: knu | ||||
* | | Create bzgrep. | obrien | 2002-09-16 | 3 | -0/+45 |
| | |