Opened 10 years ago

Last modified 10 years ago

#1002 closed task

Sed 4.2.2 Version Upgrade — at Version 1

Reported by: William Harrington Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description (last modified by William Harrington)

http://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.bz2

Sed 4.2.2

  • don't misbehave (truncate input) for lines of length 231 and longer
  • fix endless loop on incomplete multibyte sequences
  • -u also does unbuffered input, rather than unbuffered output only
  • New command `F' to print current input file name
  • sed -i, s/w, and the w' and W' commands also obey the --binary option (and create CR/LF-terminated files if the option is absent)
  • --posix fails for scripts (or fragments as passed to the -e option) that end in a backslash, as they are not portable.
  • New option -z (--null-data) to separate lines by ASCII NUL characters.
  • \x26 (and similar escaped sequences) produces a literal & in the replacement argument of the s/ command, rather than including the matched text.

Change History (1)

comment:1 by William Harrington, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.