Mail Archives: djgpp-announce/2017/01/29/13:03:51
This is a port of GNU ed 1.14.1 to MSDOS/DJGPP.
GNU ed is a line-oriented text editor. It is used to create, display,
modify and otherwise manipulate text files, both interactively and via
shell scripts. A restricted version of ed, red, can only edit files in
the current directory and cannot execute shell commands.
DJGPP specific changes.
=======================
All the changes done to the original distribution are documented in the
diffs file and located together with all the files needed to configure
the package (config.bat, config.sed, config.site, etc.) in the /djgpp subdir.
The DJGPP specific functionality of this port is the same than the previous
port. This port does not support dos-style (backslash) file names in the ed
scripts because the backslash character is used as the escape character by
ed. This is well known from the old port too.
For DJGPP specific issues please read carefully the /djgpp/readme file,
especially the section `Known bugs´. Please note that all test concerning
piping will fail. There is no way to solve this issue.
User visible changes (from NEWS):
-------------------------------------------------------------------------------
Changes in version 1.14.1:
This stable version is numbered 1.14.1 because a bug making ed crash with
some malformed commands was discovered after releasing 1.14, but before
announcing it. Thanks to Hanno Böck for reporting this bug.
Changes in version 1.14:
Version 1.14 is the largest bug hunt ever attempted in GNU ed. Other
goals of version 1.14 are to complete the documentation and to remove
any gratuitous incompatibilities with the POSIX standard. Thanks to Ori
Avtalion for initiating all this with a couple bug reports. ;-)
Byte counts, informative messages, command error messages, and the '?'
and '!' prompts are now written to stdout instead of to stderr. The
standard error (stderr) is now used only for diagnostic messages.
The current address is now correctly set to the addressed line after an
empty insert command.
Fixed inconsistent behavior of the substitute command. It incorrectly
reported 'Invalid pattern delimiter' when the two last delimiters were
omitted after a null regular expression. Now it consistently reports
'Missing pattern delimiter' if the two last delimiters are omitted after
any regular expression (null or not).
's/a/%' has been fixed. It incorrectly replaced 'a' with '%' instead of
using the replacement from the last substitution.
An infinite loop, happening when EOF was found in the middle of a
replacement string, has been fixed.
Ed no longer accepts newlines in the replacement of a 's' command if it
is part of the command list of a global command, because in this case
the meaning of the newline becomes ambiguous. For the same reason, the
last delimiter can't be omitted if the 's' command is not the last
command in the command list.
The substitute command now correctly sets the current address to the
address of the last line on which a substitution occurred, and leaves it
unchanged if no substitution is performed.
A bug in the calculation of address offsets has been fixed. '3 ---- 2'
was calculated as address -2 instead of the correct address 1.
Address ranges with the first address omitted are now accepted.
The current address is now correctly set to the addressed line (or to
the new last line if at EOF) after an empty replacement text in the
change command.
Repeated print suffixes are now rejected. It has been documented that ed
allows any combination of non-repeated print suffixes and combines their
effects.
The substitute command now accepts suffixes in any order.
The 'repeat substitution' command now rejects multiple count suffixes.
The 'p' suffix of the 'repeat substitution' command now toggles all the
print suffixes of the last substitution.
End of file on standard input now behaves as a 'q' command.
The modified status is no longer cleared after writing the buffer to the
standard input of a shell command. (Reported by Jérôme Frgacic).
The descriptions of the 'a', 'c', 'e', 'g', 'i', 'j', 'k', 'm', 'q',
'r', 's', 'u' and 'w' commands in the manual have been fixed.
Most tests in the testsuite have been improved. Bug reporting has been
simplified; only the failed logs and results are kept in the test
directory, which can then be (tarred, compressed, and) attached to the
bug report.
-------------------------------------------------------------------------------
If you want to recompile the package, run the command:
make
Install the products running the command:
make install
It should be noted that the test suite in this package does not work.
As usual I have configured and produced the binaries using stock djdev203.
If you want to reconfigure and recompile from scratch run the commands:
make distclean
djgpp\config
make
make install
These command sequence will produce and install the binaries, info docs and
unformated man pages in the djgpp installation tree defined by /den/env/DJDIR
The port has been compiled using djdev205 and consists of the usual three
packages that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2017-01-13):
ed 1.14.1 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ed-1141b.zip
ed 1.14.1 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ed-1141d.zip
ed 1.14.1 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/ed-1141s.zip
Send ed specific bug reports to <bug-ed AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
If you are not sure if the failure is really a ed failure
or a djgpp specific failure, report it here and *not* to
<bug-ed AT gnu DOT org>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -