[Bug 244872] Read commands from stdin when -f - is passed to sed(1)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 27 14:28:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244872

--- Comment #6 from commit-hook at freebsd.org ---
A commit references this bug:

Author: 0mp
Date: Sat Jun 27 14:27:38 UTC 2020
New revision: 362687
URL: https://svnweb.freebsd.org/changeset/base/362687

Log:
  MFC 362017, 362039, 362071:

  Read commands from stdin when -f - is passed to sed(1)

  This patch teaches sed to interpret a "-" in a special way when given
  as an argument to the -f flag.

  This behavior is also present in GNU sed.

  PR:           244872
  Tested by:    antoine (exp-run)
  Reviewed by:  pfg, tobik (older version)
  Approved by:  pfg (src)
  Relnotes:     yes
  Differential Revision:        https://reviews.freebsd.org/D24079

  Remove duplicate lines from sed tests

  Reported by:  yuripv
  Approved by:  pfg (src)

  Remove some more duplicate test cases I accidentally committed

  Reported by:  markj, yuripv

Changes:
_U  stable/12/
  stable/12/usr.bin/sed/main.c
  stable/12/usr.bin/sed/sed.1
  stable/12/usr.bin/sed/tests/sed2_test.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list