Opened 9 years ago

Closed 9 years ago

#3487 closed task (fixed)


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


We may or may not get this in before the package freeze. It depends on when 2.17 actualy gets released. Most changes have to do with multi-byte characters.

From the mailing list:

I would like to make a release in the next few days, so here is a snapshot of the latest. Please give it a spin.

grep snapshot:      1.2 MB



grep -i in a multibyte locale is now typically 10 times faster for patterns that do not contain \ or [.

grep (without -i) in a multibyte locale is now up to 7 times faster when processing many matched lines.

Range expressions in unibyte locales now ordinarily use the rational range interpretation, in which [a-z] matches only lower-case ASCII letters regardless of locale, and similarly for other ranges. (This was already true for multibyte locales.) Portable programs should continue to specify the C locale when using range expressions, since these expressions have unspecified behavior in non-GNU systems and are not yet guaranteed to use the rational range interpretation even in GNU systems.


grep's --mmap option was disabled in March of 2010, and began to elicit a warning in January of 2012. Now it is completely gone.

Change History (5)

comment:1 by Armin, 9 years ago

Priority: lownormal
Summary: grep-2.16.14-b75c (placeholder)grep-2.17

comment:2 by bdubbs@…, 9 years ago

Milestone: 7.57.6

comment:3 by bdubbs@…, 9 years ago

Summary: grep-2.17grep-2.18

Now 2.18.

comment:4 by bdubbs@…, 9 years ago

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

comment:5 by bdubbs@…, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 10502.

Note: See TracTickets for help on using tickets.