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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 10 19:24:10 UTC 2020


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

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

Author: 0mp
Date: Wed Jun 10 19:23:59 UTC 2020
New revision: 362017
URL: https://svnweb.freebsd.org/changeset/base/362017

Log:
  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
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D24079

Changes:
  head/usr.bin/sed/main.c
  head/usr.bin/sed/sed.1
  head/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