Deleted Added
full compact
sed.1 (226895) sed.1 (233648)
1.\" Copyright (c) 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)sed.1 8.2 (Berkeley) 12/30/93
1.\" Copyright (c) 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)sed.1 8.2 (Berkeley) 12/30/93
32.\" $FreeBSD: head/usr.bin/sed/sed.1 226895 2011-10-29 06:13:47Z ache $
32.\" $FreeBSD: head/usr.bin/sed/sed.1 233648 2012-03-29 05:02:12Z eadler $
33.\"
34.Dd May 24, 2009
35.Dt SED 1
36.Os
37.Sh NAME
38.Nm sed
39.Nd stream editor
40.Sh SYNOPSIS

--- 100 unchanged lines hidden (view full) ---

141.It Fl n
142By default, each line of input is echoed to the standard output after
143all of the commands have been applied to it.
144The
145.Fl n
146option suppresses this behavior.
147.It Fl r
148Same as
33.\"
34.Dd May 24, 2009
35.Dt SED 1
36.Os
37.Sh NAME
38.Nm sed
39.Nd stream editor
40.Sh SYNOPSIS

--- 100 unchanged lines hidden (view full) ---

141.It Fl n
142By default, each line of input is echoed to the standard output after
143all of the commands have been applied to it.
144The
145.Fl n
146option suppresses this behavior.
147.It Fl r
148Same as
149.Fl E
149.Fl E
150for compatibility with GNU sed.
151.El
152.Pp
153The form of a
154.Nm
155command is as follows:
156.Pp
157.Dl [address[,address]]function[arguments]

--- 32 unchanged lines hidden (view full) ---

190.Pq Dq $
191character that addresses the last line of input (or the last line
192of the current file if a
193.Fl i
194option was specified);
195.It
196a context address
197that consists of a regular expression preceded and followed by a
150for compatibility with GNU sed.
151.El
152.Pp
153The form of a
154.Nm
155command is as follows:
156.Pp
157.Dl [address[,address]]function[arguments]

--- 32 unchanged lines hidden (view full) ---

190.Pq Dq $
191character that addresses the last line of input (or the last line
192of the current file if a
193.Fl i
194option was specified);
195.It
196a context address
197that consists of a regular expression preceded and followed by a
198delimiter. The closing delimiter can also optionally be followed by the
198delimiter. The closing delimiter can also optionally be followed by the
199.Dq I
200character, to indicate that the regular expression is to be matched
201in a case-insensitive way.
202.El
203.Pp
204A command line with no addresses selects every pattern space.
205.Pp
206A command line with one address selects all of the pattern spaces

--- 430 unchanged lines hidden ---
199.Dq I
200character, to indicate that the regular expression is to be matched
201in a case-insensitive way.
202.El
203.Pp
204A command line with no addresses selects every pattern space.
205.Pp
206A command line with one address selects all of the pattern spaces

--- 430 unchanged lines hidden ---