Message-Id: <201206122139.q5CLdx8h010374@delorie.com> From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU grep 2.12 uploaded. Date: Tue, 12 Jun 2012 22:59:42 +0200 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline This is a port of GNU grep 2.12 to MSDOS/DJGPP. DJGPP specific changes. ======================= The grep program uses a new method called fts to traverse a file tree. This code is very posix centric, especially it uses gnulib functions like openat, openat-proc and fdopendir that try to access directories using file descriptors with open(). This is only supported by djdev204 but not by djdev203. This means that if grep is compiled using djdev203, the program will no longer be able neither to recurse directories nor will be able to follow symlinks. This is because djdev203 only produces symlinks for programs. In both cases grep will always terminated with ENOSYS. grep211 was probably the last DJGPP port of grep compiled with djdev203. DJGPP specific changes are those required to implement colorization support for this port. If grep is called with the command line option --color and the output is directed to the screen then the default colors will be used to mark matches, file names and line numbers. If the output does not go to the screen then colorization is automatically suppressed. Read the docs to learn how to control the color using the environment variable GREP_COLORS. As usual all changes are documented in the diffs file that is stored in the /djgpp directory. Please note that to run the test suite produced with autoconf 2.64 and later you must install mktmp17br2 or later. Because the test suite also tries to test multibyte patterns but multibyte strings are not fully supported by DJGPP 14 tests of 54 will be skipped. The yesno is the only test that will fail, so please do not report it. Before starting the testsuite, please make sure to unset the GREP_OPTIONS in djgpp.env or the testsuite may not wwork as expected. 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/beta/v2tk/pcre830b.zip if you decide to compile the sources. If you prefer to disable the pcre support you will have to reconfigure and recompile the suorces again, but this time passing the "no-pcre" command line option to config.bat. The grep212b.zip file contains both versions of the grep program, the one build without perl-regexp support have the usual name and the one compiled with perl-regexp support is called greppcre.exe. You can install both versions or keep the one you prefer and delete the other one. This port has no wide character/multi byte support at all. To build this port and run the testsuite you will need LFN support. Please note that the testsuite also runs a lot of gnulib tests that will all fail. I have no intension to fix them. The sources have been configured to be build in /_build.204 directory and for build-in pcre support. For further information about GNU grep please read the info docs and NEWS file. The port has been compiled using stock djdev204 beta and consists of the usual three packages that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2012-06-12): grep 2.12 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/grep212b.zip grep 2.12 dvi, html, pdf and ps format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/grep212d.zip grep 2.12 source: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/grep212s.zip Send grep specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel