X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <200911230258.nAN2wr7c028509@delorie.com> X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX19+4Ih2BZB+8Ef21Hr06zTlBEC7JqY+c4VBsI2QrN Zql/n/i8woOTfK From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU Sed 4.2.1 uploaded. Date: Mon, 23 Nov 2009 02:28:53 +0100 Content-Disposition: inline X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 This is a port of GNU Sed 4.2.1 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. ======================= - The input stream is switched to binary mode, if it does not come from the console, on platforms, like DOS/WIN95, that distinguish between text and binary files. This will allow to process files that contain embedded ^Z and lone ^M characters. - 8+3 valid file names will be generated for backup names of input file names if only SFN support is available. This concerns the '-i' option (in-place editing). - To compile the sources you will need libsupp 6.2 or later. The library provides a fixed version of popen()/pclose() functions from the libc cvs repository that will replace those ones that come with djdev204 (2004-11-25). As usual, all djgpp specific files (config.bat, diffs, readme files, etc.) are located in the /djgpp subdir. Here is an extract of the NEWS file showing the user visible changes from the last port (sed 4.2) to this one: Sed 4.2.1 * fix parsing of s/[[[[[[[[[]// * security contexts are preserved by -i too under SELinux * temporary files for sed -i are not made group/world-readable until they are complete ---------------------------------------------------------------------------- The port consists of the usual three packages that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2009-11-22): Sed 4.2.1 binary, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed421b.zip Sed 4.2.1 dvi, html, pdf and ps format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed421d.zip Sed 4.2.1 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed421s.zip For the convenience of the WinXP users the binaries has been produced a second time using the djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2009-11-22): Sed 4.2.1 binary, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed421b.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