Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2020 09:17:21 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361248 - head/usr.bin/sed
Message-ID:  <202005190917.04J9HLZS050339@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr (doc committer)
Date: Tue May 19 09:17:20 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

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

Modified: head/usr.bin/sed/sed.1
==============================================================================
--- head/usr.bin/sed/sed.1	Tue May 19 09:04:35 2020	(r361247)
+++ head/usr.bin/sed/sed.1	Tue May 19 09:17:20 2020	(r361248)
@@ -31,7 +31,7 @@
 .\"	@(#)sed.1	8.2 (Berkeley) 12/30/93
 .\" $FreeBSD$
 .\"
-.Dd March 27, 2017
+.Dd May 19, 2020
 .Dt SED 1
 .Os
 .Sh NAME
@@ -41,9 +41,11 @@
 .Nm
 .Op Fl Ealnru
 .Ar command
+.Op Fl I Ar extension
+.Op Fl i Ar extension
 .Op Ar
 .Nm
-.Op Fl Ealnr
+.Op Fl Ealnru
 .Op Fl e Ar command
 .Op Fl f Ar command_file
 .Op Fl I Ar extension
@@ -197,7 +199,8 @@ option was specified);
 .It
 a context address
 that consists of a regular expression preceded and followed by a
-delimiter. The closing delimiter can also optionally be followed by the
+delimiter.
+The closing delimiter can also optionally be followed by the
 .Dq I
 character, to indicate that the regular expression is to be matched
 in a case-insensitive way.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005190917.04J9HLZS050339>