Message-Id: <201805012207.w41M77fK017051@delorie.com> Date: Tue, 01 May 2018 23:39:03 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-announce AT delorie DOT com]" To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU Sed 4.5 uploaded Content-Type: text/plain; charset=ISO-8859-15; format=flowed Reply-To: djgpp AT delorie DOT com This is a port of GNU Sed 4.5 to MSDOS/DJGPP. sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline which particularly distinguishes it from other types of editors. Please, read carefully the NEWS file to see the user visible changes and read the info or html docs to become familiar with the program. For beginers the chapter: examples in the info doc may be instructive. The chapter: Other resources for learning about 'sed' contains pointers to usefull sed specific urls. DJGPP specific changes. ======================= - There are no DJGPP specific user visible changes. Major adjustments were required to get the new and even more posix centric testsuite working with MSDOS/DJGPP. - The port has been configured and compiled on WinXP SP3 and Win98SE. There is no guarantee that this may be possible with any other DOS- like OS. Due to the use of long file names it will not be possible to configure and compile without LFN support. The port has been compiled using gcc346 and bnu230b. - The port has been tested by using it. I have used them only on WinXP. It has worked flawlessly. I do not konw if this will ever be the case on FreeDOS. I have never used/tested them in that environment. - To be able to build this port you may need to have LFN support. - If NLS support is wanted, then the sources must be reconfigured passing the nls option to config.bat. As usual, all djgpp specific files (diffs, README files, etc.) are stored in the "djgpp" directory. The sources have been configured to be build in the "_build" directory. If for some reason it does not work for you, delete it contents and configure from scratch again. Please read the docs to become familiar with this product. Here is an extract of the NEWS file showing the user visible changes from the last port (GNU Sed 4.4) to this one: ------------------------------------------------------------------------------- * Noteworthy changes in release 4.5 (2018-03-31) [stable] ** Bug fixes sed now fails when matching very long input lines (>2GB). Before, sed would silently ignore the regex without indicating an error. [Bug present at least since sed-3.02] sed no longer rejects comments and closing braces after y/// commands. [Bug existed at least since sed-3.02] sed -E --posix no longer ignores special meaning of '+','?','|' . [Bug introduced in the original implementation of --posix option in v4.1a-5-gba68fb4] sed -i now creates selinux context based on the context of the symlink instead of the symlink target. [Bug present since at least sed-4.2] sed -i --follow-symlinks remains unchanged. sed now treats the sequence '\x5c' (ASCII 92, backslash) as literal backslash character, not as an escape prefix character. [Bug present since sed-3.02.80] Old behavior: $ echo z | sed -E 's/(z)/\x5c1/' # identical to 's/(z)/\1/' z New behavior: $ echo z | sed -E 's/(z)/\x5c1/' \1 ------------------------------------------------------------------------------- The port consists of the usual three packages that have been produced using djdev205 and can be downloaded from ftp.delorie.com and mirrors as (time stamp 2018-04-29): Sed 4.5 binary, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed45b.zip Sed 4.5 dvi, html, pdf and ps format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed45d.zip Sed 4.5 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed45s.zip Send Sed specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel