[Bug 240556] Synopsis in sed(1) is wrong

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 19 09:18:21 UTC 2020


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

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

Author: bcr
Date: Tue May 19 09:17:21 UTC 2020
New revision: 361248
URL: https://svnweb.freebsd.org/changeset/base/361248

Log:
  Update SYNOPSIS section to be consistent regarding -u, -i, and -I.

  Apparently, when the -u, -i and -I options where added to sed(1), it was
  forgotten to add them to both lines in the SYNOPSIS section. They were only
  added to the second line, although they apply to both.

  With the updated SYNOPSIS, it is now allowed (and consistent) to run:

  sed -i BAK s/foo/bar/g some_file

  PR:           240556
  Submitted by: Oliver Fromme
  MFC after:    5 days

Changes:
  head/usr.bin/sed/sed.1

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


More information about the freebsd-doc mailing list