Projects / grep


GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp matcher without necessarily having to look at every character. The result is typically many times faster than Unix grep or egrep.

Operating Systems

Recent releases

  •  25 May 2014 19:31

    Release Notes: Performance was improved, though the performance of "grep -P" in UTF-8 locales was negatively impacted by some bug fixes. Many pattern handling errors and inconsistencies were fixed. "grep -P" now works with "-w" and "-x" and backreferences. Output of separators is now consistent. Other minor bugs were fixed.

    •  02 Apr 2014 15:53

      Release Notes: Usage with multibyte locales was significantly accelerated. Mishandling of patterns like [^^-~] in unibyte locales was fixed. The deprecated "--mmap" option was removed. The behavior of the shortcurts "\s" and "\S" in multibyte locales was fixed. Handling of arbitrary PCRE errors was improved. Various further minor bug fixes were made.

      •  08 Jan 2014 19:33

        Release Notes: "grep -P" can now use a just-in-time compiler to greatly speed up matches, assuming proper support from PCRE. Several multi-byte issues where resolved. Handling of very long lines on systems with a deficient read system call was improved.

        •  21 Aug 2012 09:04

          Release Notes: Several false results of "grep -i '^$'" in multi-byte locales were resolved. A misdetection of text files as binary was resolved.

          •  05 Jul 2012 13:15

            Release Notes: Sparse files are now treated as binary by default. Multi-byte locales with mismatching sizes of lower- and uppercase characters are now handled properly. A fix has been made to again allow the combined use of the "--include" and "--exclude" options.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.