Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2020 19:24:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244872] Read commands from stdin when -f - is passed to sed(1)
Message-ID:  <bug-244872-7788-vNEj839JiZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244872-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244872-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244872

--- Comment #5 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244872-7788-vNEj839JiZ>