Mail Archives: djgpp/2015/06/27/23:48:50
This is a port of GNU Sed 4.2.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.
=======================
- There are no DJGPP specific user visible changes.
- This is the first port that has been compiled using djdev205. Starting
with this port version I will no longer support neither djdev204 nor djdev203.
- 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.
- The port has been configured and compiled on WinXP SP3. There is no
guarantee that this may be possible with any other DOS-like OS. Due
to the massive use of long file names it will not be possible to configure
and compile without LFN support. The port has been compiled using gcc510
and bnu225br2.
As usual, all djgpp specific files (diffs, README files, etc.) are located in
the /djgpp directory. The sources have been configured to be build in the
/_build.205 directory. If for some reason it does not work for you, delete
it contennts and configure from scratch again.
Here is an extract of the NEWS file showing the user visible changes from
the last port (sed 4.2.1) to this one:
-------------------------------------------------------------------------------
Sed 4.2.2
* don't misbehave (truncate input) for lines of length 2^31 and longer
* fix endless loop on incomplete multibyte sequences
* -u also does unbuffered input, rather than unbuffered output only
* New command `F' to print current input file name
* sed -i, s///w, and the `w' and `W' commands also obey the --binary option
(and create CR/LF-terminated files if the option is absent)
* --posix fails for scripts (or fragments as passed to the -e option) that
end in a backslash, as they are not portable.
* New option -z (--null-data) to separate lines by ASCII NUL characters.
* \x26 (and similar escaped sequences) produces a literal & in the
replacement argument of the s/// command, rather than including the
matched text.
-------------------------------------------------------------------------------
The port consists of the usual three packages produced using djdev205
that can be downloaded from ftp.delorie.com and mirrors as (time tamp 2015-06-27):
Sed 4.2.2 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed422br2.zip
Sed 4.2.2 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed422dr2.zip
Sed 4.2.2 source:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed422sr2.zip
Send Sed specific bug reports to <bug-sed 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 -