Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3988 closed task (fixed)

grep-2.26

Reported by: bdubbs@… Owned by: bdubbs@…
Priority: normal Milestone: 8.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

  • Noteworthy changes in release 2.26 (2016-10-02) [stable]

Bug fixes

Grep no longer omits output merely because it follows an output line suppressed due to encoding errors. [bug introduced in grep-2.21]

In the Shift_JIS locale, grep no longer mistakenly matches in the middle of a multibyte character. [bug present since "the beginning"]

Improvements

grep can be much faster now when standard output is /dev/null.

grep -F is now typically much faster when many patterns are given, as it now uses the Aho-Corasick algorithm instead of the Commentz-Walter algorithm in that case.

grep -iF is typically much faster in a multibyte locale, if the pattern and its case counterparts contain only single byte characters.

grep with complicated expressions (e.g., back-references) and without -i now uses the regex fastmap for better performance.

In multibyte locales, grep now handles leading "." in patterns more efficiently.

grep now prints a "FILENAME:LINENO: " prefix when diagnosing an invalid regular expression that was read from an '-f'-specified file.

Change History (3)

comment:1 by bdubbs@…, 8 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 8 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by bdubbs@…, 8 years ago

Milestone: 7.118.0

Milestone renamed

Note: See TracTickets for help on using tickets.