Opened 3 months ago

Closed 3 months ago

#19162 closed enhancement (fixed)

ed-1.20

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version

Change History (5)

comment:1 by Rahul Chandra, 3 months ago

Even though it's a simple build, and it's still being updated, I think this is an archive candidate. I completely forgot that Ed based patch files exist and AFAIK there are none in the book. The only scenario I could think of using Ed instead of Vim is when you have to Pay/Waste material for every line of screen that you use, but almost everyone uses rewriteable pixels nowadays and I've never seen a UNIX based system using paper or non-reusable materials as the output.

in reply to:  1 comment:2 by Bruce Dubbs, 3 months ago

Replying to Rahul Chandra:

Even though it's a simple build, and it's still being updated, I think this is an archive candidate. I completely forgot that Ed based patch files exist and AFAIK there are none in the book. The only scenario I could think of using Ed instead of Vim is when you have to Pay/Waste material for every line of screen that you use, but almost everyone uses rewriteable pixels nowadays and I've never seen a UNIX based system using paper or non-reusable materials as the output.

The ONLY reason it is there is because it is in the LSB: https://rivendell.linuxfromscratch.org/lfs/view/stable/prologue/standards.html

Yes, we know that the LSB is old and not updated. We could probably remove at/batch if we want to ignore the LSB.

comment:3 by Douglas R. Reno, 3 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:4 by Douglas R. Reno, 3 months ago

Changes in version 1.20:

  • New command-line options '+line', '+/RE', and '+?RE' have been implemented to set the current line to the line number specified or to the first or last line matching the regular expression 'RE'.
  • File names containing control characters 1 to 31 are now rejected unless they are allowed with the command-line option '--unsafe-names'.
  • File names containing control characters 1 to 31 are now printed using octal escape sequences.
  • Ed now rejects file names ending with a slash.
  • Intervening commands that don't set the modified flag no longer make a second 'e' or 'q' command fail with a 'buffer modified' warning.
  • Tilde expansion is now performed on file names supplied to commands; if a file name starts with '~/', the tilde (~) is expanded to the contents of the variable HOME. (Suggested by John Cowan).
  • Ed now warns the first time that a command modifies a buffer loaded from a read-only file. (Suggested by Dan Jacobson).
  • Ed now creates missing parent directories when writing to a file.
  • It has been documented that 'e' creates an empty buffer if file does not exist.
  • It has been documented that 'f' sets the default filename, whether or not its argument names an existing file.
  • The description of the exit status has been improved in '--help' and in the manual.
  • The variable MAKEINFO has been added to configure and Makefile.in.
  • It has been documented in INSTALL that when choosing a C standard, the POSIX features need to be enabled explicitly: ./configure CFLAGS+='--std=c99 -D_POSIX_C_SOURCE=2'

comment:5 by Douglas R. Reno, 3 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.