Mail Archives: djgpp/2020/01/21/14:04:08
This is a port of GNU Sed 4.8 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 most notable change of this port is that now stdin and stdout are
no longer switched into binary mode if the --binary flag is used. In
the previous version of sed (aka sed47) stdin and stdout were switched
into binary mode even when connected to the console. Of course, the
the genreation of Cntl-c war always reenabled so the program could
always be interrupted. Now the behavior should be the same than with
sed45 and before.
For the rationale of this change read the ChangLog file.
- 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 bnu2331b.
- The port has been tested by using it. I have used them only on WinXP
and Win98SE. 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.7) to this one:
-------------------------------------------------------------------------------
* Noteworthy changes in release 4.8 (2020-01-14) [stable]
** Bug fixes
"sed -i" now creates temporary files with correct umask (limited to u=rwx).
Previously sed would incorrectly set umask on temporary files, resulting
in problems under certain fuse-like file systems.
[bug introduced in sed 4.2.1]
** Release
distribute gzip-compressed tarballs once again
** Improvements
a year's worth of gnulib development, including improved DFA performance
-------------------------------------------------------------------------------
The port consists of the usual three packages that have been produced using
djdev205 (CVS repository code) and can be downloaded from ftp.delorie.com
and mirrors as (time stamp 2020-01-20):
Sed 4.8 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed48b.zip
Sed 4.8 dvi, html, pdf and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed48d.zip
Sed 4.8 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed48s.zip
Send GNU 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 -