- Sep 01, 2021
-
-
Santiago R.R. authored
-
- Aug 14, 2021
-
-
Jim Meyering authored
* NEWS: Record release date.
-
- Aug 10, 2021
-
-
Jim Meyering authored
...so we can continue to use seq, but the wrapper when needed. * tests/init.cfg (seq): Some systems lask seq. Provide a replacement. * tests/hash-collision-perf: Use seq once again. * tests/long-pattern-perf: Likewise. And remove a comment about seq.
-
- Aug 09, 2021
-
-
Paul Eggert authored
* src/dfasearch.c (EGexecute): Remove a label and goto. This also makes the machine code a bit shorter, on x86-64 gcc.
-
Paul Eggert authored
* src/grep.c (fillbuf): Simplify movement of saved data.
-
Paul Eggert authored
* src/grep.c (ALIGN_TO): When converting pointers to unsigned integers, convert to uintptr_t not size_t, as size_t in theory might be too narrow.
-
Paul Eggert authored
Portability problem reported by Dagobert Michelsen in: https://lists.gnu.org/r/grep-devel/2021-08/msg00004.html * tests/hash-collision-perf, tests/long-pattern-perf: Don’t assume seq is installed; use awk instead.
-
- Aug 08, 2021
-
-
Jim Meyering authored
-
Jim Meyering authored
-
- Aug 07, 2021
-
-
Kevin Locke authored
* src/grep.c (usage): Document --group-separator and --no-group-separator.
-
Kevin Locke authored
* doc/grep.in.1: Add copy of docs for --group-separator from doc/grep.texi. Add copy of docs for --no-group-separator from doc/grep.texi.
-
Jim Meyering authored
-
- Jun 19, 2021
-
-
Mateusz Okulus authored
* doc/grep.in.1 (-H): Mention that this is a GNU extension.
-
- Jun 14, 2021
-
-
Paul Eggert authored
-
- Jun 12, 2021
-
-
Paul Eggert authored
-
- Jun 10, 2021
-
-
Paul Eggert authored
* doc/grep.texi (The Backslash Character and Special Expressions) (Usage): Improve doc (Bug#48948).
-
- Jan 31, 2021
-
-
Jim Meyering authored
* doc/grep.texi (-L): Remove erroneous sentence about stopping early. With -L, grep cannot stop scanning early. (-l): Tweak existing wording. * doc/grep.in.1: Remove the -L sentence here, too. (-l): Copy the sentence from grep.texi, to clarify: it's only per-file scanning that stops upon match. Reported by Robert Bruntz in http://debbugs.gnu.org/46179
-
- Jan 06, 2021
-
-
Jim Meyering authored
* configure.ac (GNULIB_TEST_WARN_CFLAGS): Add -Woverlength-strings to avoid clang warnings.
-
- Jan 02, 2021
-
-
Paul Eggert authored
* doc/grep.texi (Fundamental Structure) (Back-references and Subexpressions, Basic vs Extended): Further clarifications.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
- Dec 30, 2020
-
-
Jim Meyering authored
* gnulib: update for clang-10 warning warning-avoidance fixes in hash and regex-tests.
-
Jim Meyering authored
* src/dfasearch.c (regex_compile): Parenthesize arith-OR vs ternary, to placate clang-10.
-
Paul Eggert authored
* doc/grep.texi (Fundamental Structure) (Character Classes and Bracket Expressions) (The Backslash Character and Special Expressions, Anchoring) (Basic vs Extended): Clarify which characters are special, and why \ is needed before } in grep even though } is not special. Use Posix terminology for ordinary and special characters and for interval expressions.
-
Marek Suppa authored
* doc/grep.texi (Basic vs Extended Regular Expressions): Mention that the right curly brace (}) meta-character must be backslash-escaped. It had been omitted from the list.
-
- Dec 26, 2020
-
-
Jim Meyering authored
-
- Dec 25, 2020
-
-
Jim Meyering authored
* NEWS (Change in behavior): Mention this. * src/grep.c (main): Warn about each use of obsolete --unix-byte-offsets (-u). * doc/grep.in.1 (-u): Remove its documentation.
-
- Dec 23, 2020
-
-
Helge Kreutzmann authored
* doc/grep.in.1: Mark some manual names with B<...>. Mark PATTERNS with I<...>. Drop final period in SEE ALSO. With suggestions from of several members of the manpage-l10n translation community. This resolves https://bugs.gnu.org/45353
-
- Nov 26, 2020
-
-
Jim Meyering authored
* src/grep.c (hash_pattern): Switch from PJW to DJB2, to avoid an O(N) to O(N^2) performance regression due to hash collisions with patterns from e.g., seq 500000|tr 0-9 A-J Reported by Frank Heckenbach in https://bugs.gnu.org/44754 * NEWS (Bug fixes): Mention it. * tests/hash-collision-perf: New file. * tests/Makefile.am (TESTS): Add it.
-
Jim Meyering authored
* gnulib: Update submodule to latest. * src/grep.c (printf_errno): Reflect gnulib's renaming: change _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD
-
Jim Meyering authored
* gnulib-tests/Makefile.am (AM_CFLAGS): Enable gnulib warning options for these tests. * configure.ac (GNULIB_TEST_WARN_CFLAGS): Disable the same three warning options that coreutils does, and a few more for GCC11.
-
- Nov 09, 2020
-
-
Santiago R.R. authored
-
Jim Meyering authored
* NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
-
Jim Meyering authored
* NEWS: Record release date.
-
- Nov 05, 2020
-
-
Jim Meyering authored
-
- Nov 03, 2020
-
-
Jim Meyering authored
-
Paul Eggert authored
* NEWS: Mention this. * doc/grep.in.1: Remove GREP_OPTIONS documentation. * doc/grep.texi (Environment Variables): Move GREP_OPTIONS stuff into a “no longer implemented” paragraph. * src/grep.c (prepend_args, prepend_default_options): Remove. (main): Do not look at GREP_OPTIONS. * tests/Makefile.am (TESTS_ENVIRONMENTS): * tests/init.cfg (vars_): Remove GREP_OPTIONS.
-
- Nov 01, 2020
-
-
Norihiro Tanaka authored
* src/dfasearch.c (regex_compile): New parameter. All callers changed. (GEAcompile): Move setting syntax for regex into regex_compile() function. This addresses a performance problem exposed by extreme regular expressions, as described in https://bugs.gnu.org/43862 .
-