./editors/ed, GNU version of line-oriented text editor

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2016Q4, Version: 1.14.1, Package name: ed-1.14.1, Maintainer: reed

This is the GNU version of ed(1).

ed is a line-oriented text editor. It is used to create, display,
modify and otherwise manipulate text files.

This also includes a restricted ed, which can only edit files in the
current directory and cannot execute shell commands.


Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: a91f785f7e16dc68e1c9c86d532ebd9698171ba0
RMD160: b4c74158c8a8806f68e3b8763302ce656d741040
Filesize: 65.786 KB

Version history: (Expand)


CVS history: (Expand)


   2017-02-24 20:22:06 by Benny Siegert | Files touched by this commit (2)
Log message:
Pullup ticket #5217 - requested by sevan
editors/ed: security fix

Revisions pulled up:
- editors/ed/Makefile                                           1.19
- editors/ed/distinfo                                           1.11

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Thu Jan 12 11:20:02 UTC 2017

   Modified Files:
           pkgsrc/editors/ed: Makefile distinfo

   Log message:
   Updated ed to 1.14.1.

   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 Jerome 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.