Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2020 14:32:39 +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-FI41xRzLw2@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 #7 from commit-hook@freebsd.org ---
A commit references this bug:

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

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/11/
  stable/11/usr.bin/sed/main.c
  stable/11/usr.bin/sed/sed.1
  stable/11/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-FI41xRzLw2>