GNU ed 1.20.1 released

The GNU Project has released a new version of the classic text editor ed, which became the first standard text editor for the UNIX OS. The new version is numbered 1.20.1.

In the new version:

  • New command line options '+line', '+/RE', and '+?RE', which set the current line to the specified line number or to the first or last line matching the regular expression "RE".
  • Filenames containing control characters 1 through 31 are now rejected unless they are resolved using the --unsafe-names command line option.
  • File names containing control characters 1 through 31 are now printed using octal escape sequences.
  • Ed now rejects filenames ending with a slash.
  • Intermediate commands that do not set the change flag no longer cause the second "e" or "q" command to fail with a "buffer modified" warning.
  • Tilde expansion is now done for filenames passed to commands; if the filename begins with "~/", the tilde (~) is replaced with the contents of the HOME variable.
  • Ed now warns the first time a command modifies a buffer loaded from a read-only file.
  • It has been documented that "e" creates an empty buffer if the file does not exist.
  • It has been documented that 'f' sets the default filename, regardless of whether the file exists or not.
  • Improved description of exit status in --help and in the manual.
  • The MAKEINFO variable has been added to the configuration and Makefile.in.
  • It was documented in INSTALL that when choosing the C standard, POSIX features must be explicitly enabled: ./configure CFLAGS+='β€”std=c99 -D_POSIX_C_SOURCE=2β€²

Source: linux.org.ru

Add a comment