summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/sed.1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-03-31 17:40:13 +0000
committerimp <imp@FreeBSD.org>2010-03-31 17:40:13 +0000
commitfd75fb84178fb083ef0af86f7775323b449b636b (patch)
treecf8a3ddeb69a95b77cdcbfa76a721e9cb9cf5d82 /usr.bin/sed/sed.1
parent3bd875003c9cfb8544833da3029fc72d93c416b5 (diff)
downloadFreeBSD-src-fd75fb84178fb083ef0af86f7775323b449b636b.zip
FreeBSD-src-fd75fb84178fb083ef0af86f7775323b449b636b.tar.gz
Make -r mean exactly the same thing as -E for increased compatibility
with GNU sed. MFC after: 7 days
Diffstat (limited to 'usr.bin/sed/sed.1')
-rw-r--r--usr.bin/sed/sed.18
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1
index d5858ff..0744630 100644
--- a/usr.bin/sed/sed.1
+++ b/usr.bin/sed/sed.1
@@ -39,11 +39,11 @@
.Nd stream editor
.Sh SYNOPSIS
.Nm
-.Op Fl Ealn
+.Op Fl Ealnr
.Ar command
.Op Ar
.Nm
-.Op Fl Ealn
+.Op Fl Ealnr
.Op Fl e Ar command
.Op Fl f Ar command_file
.Op Fl I Ar extension
@@ -144,6 +144,10 @@ all of the commands have been applied to it.
The
.Fl n
option suppresses this behavior.
+.It Fl r
+Same as
+.Fl E
+for compatibility with GNU sed.
.El
.Pp
The form of a
OpenPOWER on IntegriCloud