Mail Archives: djgpp/2014/07/05/20:59:11
This is an update of the port of GNU grep 2.20 to MSDOS/DJGPP.
This is GNU grep, the "fastest grep in the west".
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. (Regular expressions containing backreferencing
will run more slowly, however.)
DJGPP specific changes.
=======================
The only change between this update and the previous version of the DJGPP
port of grep is that I have added DJGPP links for egrep and fgrep. The
previous port provided shell scripts for egrep and fgrep. Unfortunately I
noted too late that this shell scripts did not work well when called from
makefiles so I decided to replace them DJGPP links created with stubedit.
The original shell scripts have been removed from the binary distribution
but are still produced and installed if the products are compiled from the
source distribution. grep.c had to be adjusted a little bit so that the main
function recognizes from argv[0] that grep shall use the -E or -F option.
For all other information of the port please inspect the previous announce:
<http://www.delorie.com/archives/browse.cgi?p=djgpp-announce/2014/06/19/18:20:58>
This port has been configured with perl-regexp (pcre) support enabled.
This means that you will have to install pcre libray available as:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/pcre835b.zip
or
ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/pcre835b.zip
if you decide to compile the the preconfigured sources. If you prefer to
disable the pcre support you will have to reconfigure and recompile the
sources again, but this time passing the "no-pcre" command line option to
config.bat. The grep220b.zip file contains only the one build with
perl-regexp support enabled.
This port has no wide character/multi byte support at all.
To build this port and run the test suite you will need LFN support.
The source package is configured to be build in the "_build.204" directory.
The port has been configured and compiled with NLS support enabled using the
latest ports of libiconv, libunistring and gettext.
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/licv114br2.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/luns093br2.zip
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gtxt191b.zip
Because there is no reason to keep the old version of this port I have decided
to replace it with this new version without changing its name.
For further information about GNU grep please read the info docs and NEWS file.
The port has been compiled using stock djdev204 from the /beta directory and
consists of three packages that can be downloaded from ftp.delorie.com and
mirrors as (timestamp 2015-07-05):
grep 2.20 binaries, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep220b.zip
grep 2.20 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep220d.zip
grep 2.20 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep220s.zip
Send grep specific bug reports to <bug-grep AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
If you are not sure if the failure is really a grep failure
or a djgpp specific failure, report it here and *not* to
<bug-grep AT gnu DOT org>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -