summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2015-02-14 17:04:55 -0800
committerRobert Mustacchi <rm@joyent.com>2015-04-29 15:36:26 -0700
commit21520208ad6fda66aa89c585cc9d64979b0f3103 (patch)
treef4fb7931f5e72ad4f2e18963742140f011eef4af
parent3e5de5d019b8b1edc6c40c035fa29f3a41341841 (diff)
downloadillumos-joyent-21520208ad6fda66aa89c585cc9d64979b0f3103.tar.gz
5624 sed(1) should not refer to re_format(7)
Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/man/man1/sed.112
1 files changed, 5 insertions, 7 deletions
diff --git a/usr/src/man/man1/sed.1 b/usr/src/man/man1/sed.1
index ded1c15fa3..126402343c 100644
--- a/usr/src/man/man1/sed.1
+++ b/usr/src/man/man1/sed.1
@@ -30,12 +30,11 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.TH SED 1 "Nov 2, 2011"
+.TH SED 1 "Feb 14, 2015"
.SH NAME
\fBsed\fP
\- stream editor
.SH SYNOPSIS
-.br
\fBsed\fP
[\fB\-Ealnr\fP]
\fIcommand\fP
@@ -70,7 +69,7 @@ The following options are available:
Interpret regular expressions as extended (modern) regular expressions
rather than basic regular expressions (BRE's).
The
-\fBre_format\fP(7)
+\fBregex\fP(5)
manual page fully describes both formats.
.TP
\fB\-a\fP
@@ -234,7 +233,7 @@ function.
The regular expressions used in
\fB,\fP
by default, are basic regular expressions (BREs, see
-\fBre_format\fP(7)
+\fBregex\fP(5)
for more information), but extended (modern) regular expressions can be used
instead if the
\fB\-E\fP
@@ -505,7 +504,7 @@ where
``#''
is a digit, is replaced by the text matched
by the corresponding backreference expression (see
-\fBre_format\fP(7)) .
+\fBregex\fP(5)) .
A line can be split by substituting a newline character into it.
To specify a newline character in the replacement string, precede it with
@@ -625,8 +624,7 @@ The \fBsed\fP utility exits 0 on success, and >0 if an error occurs.
\fBawk\fP(1),
\fBed\fP(1),
\fBgrep\fP(1),
-\fBregex\fP(3),
-\fBre_format\fP(5)
+\fBregex\fP(5)
.SH STANDARDS
The
\fBsed\fP