GNU ed 1.20.1 has been released

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

In the new version:

  • New command-line options ‘+line’, ‘+/RE’, and ‘+?RE’ set the current line to the specified line number or to the first or last line matching the regular expression ‘RE’.
  • File names containing control characters from 1 to 31 are now rejected unless allowed by the command-line option —unsafe-names.
  • File names containing control characters from 1 to 31 are now printed using octal escape sequences.
  • Ed now rejects file names ending with a slash.
  • Intermediate commands that do not set the modified flag no longer cause the second command ‘e’ or ‘q’ to fail with the warning ‘buffer modified’.
  • Tilde expansion now occurs for file names passed to commands; if a file name starts 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 file name regardless of whether the file exists.
  • Improved exit status description in —help and in the manual.
  • The MAKEINFO variable has been added to the configuration and Makefile.in.
  • It has been documented in INSTALL that when choosing the C standard, POSIX functions must be enabled explicitly: ./configure CFLAGS+=’—std=c99 -D_POSIX_C_SOURCE=2’

Source: linux.org.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster