%general-entities; ]> grep &grep-version;
&grep-url;
Grep-&grep-version; Grep <para>The Grep package contains programs for searching through files.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&grep-ch6-sbu;</seg> <seg>&grep-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Grep The current Grep package has many bugs, especially in the support of multibyte locales. The following consolidated patch from Debian fixes some of them, improves the number of individual tests which are passed, and much improves the speed in UTF-8 locales: patch -Np1 -i ../&grep-debian-patch; Prepare Grep for compilation: ./configure --prefix=/usr \ --bindir=/bin \ --without-included-regex The meaning of the configure switch: --without-included-regex The configure check for Glibc's regex library is broken when building against Glibc-&glibc-version;. This switch forces the use of Glibc's regex library. Compile the package: make To test the results, issue: make check || true There are known test failures in the foad1.sh and fmbtest.sh tests. The "|| true" construct is used to avoid build automated build scripts failing due to the test failures. A good run will show 2 failures from 14 tests, but if you look at the output you will see in excess of forty individual tests which failed - these are all in the new tests added since the previous version. Install the package: make install Contents of Grep Installed programs egrep, fgrep, and grep Short Descriptions egrep Prints lines matching an extended regular expression egrep fgrep Prints lines matching a list of fixed strings fgrep grep Prints lines matching a basic regular expression grep