Mail Archives: djgpp/2009/06/07/21:19:36
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-Id: | <200906080112.n581CI65027120@delorie.com>
|
X-Authenticated: | #27081556
|
X-Provags-ID: | V01U2FsdGVkX1+J7gsVIc2Jnqr15RPOCG/NqozoC/h/cxpQnEYOeB
|
| Tqa6dPzTVehhRT
|
From: | "Juan Manuel Guerrero" <juan DOT guerrero AT gmx DOT de>
|
To: | <djgpp-announce AT delorie DOT com>
|
Subject: | ANNOUNCE: DJGPP port of GNU Sed 4.2 uploaded.
|
Date: | Mon, 8 Jun 2009 00:25:19 +0200
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106
|
X-Y-GMX-Trusted: | 0
|
X-FuHaFi: | 0.51
|
This is a port of GNU Sed 4.2 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.1 or later. The library
provides a fixed version of popen()/pclose() functions from the libc cvs
tree that will replace those ones that come with djdev204 (2004-11-25).
You will need LFN support to configure and compile the sources. This also
applies to run the testsuite.
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.1.5) to this one:
Sed 4.2
* now released under GPLv3
* added a new extension `z` to clear pattern space even in the presence
of invalid multibyte sequences
* a preexisting GNU gettext installation is needed in order to compile
GNU sed with NLS support
* new option --follow-symlinks, available when editing a file in-place.
This option may not be available on some systems (in this case, the
option will *not* be a no-op; it will be completely unavailable).
In the future, the option may be added as a no-op on systems without
symbolic links at all, since in this case a no-op is effectively
indistinguishable from a correct implementation.
* hold-space is reset between different files in -i and -s modes.
* multibyte processing fixed
* the following GNU extensions are turned off by --posix: options [iImMsSxX]
in the `s' command, address kinds `FIRST~STEP' and `ADDR1,+N' and `ADDR1,~N',
line address 0, `e' or `z' commands, text between an `a' or `c' or `i'
command and the following backslash, arguments to the `l' command.
--posix disables all extensions to regular expressions.
* fixed bug in 'i\' giving a segmentation violation if given alone.
* much improved portability
* much faster in UTF-8 locales
* will correctly replace ACLs when using -i
* will now accept NUL bytes for `.'
----------------------------------------------------------------------------
The port consists of the usual three packages that can be downloaded from
ftp.delorie.com and mirrors as (timestamp 2009-06-07):
Sed 4.2 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed42b.zip
Sed 4.2 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed42d.zip
Sed 4.2 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed42s.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-06-07):
Sed 4.2 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed42b.zip
Send Sed specific bug reports to <bug-gnu-utils AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT igd DOT fhg DOT de>
- Raw text -