mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 04:21:26 +01:00
PR: 10850
Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
This commit is contained in:
parent
a6dd44dea5
commit
1d2ed2f751
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57219
@ -140,12 +140,16 @@ A command line with no addresses selects every pattern space.
|
||||
A command line with one address selects all of the pattern spaces
|
||||
that match the address.
|
||||
.Pp
|
||||
A command line with two addresses selects the inclusive range from
|
||||
the first pattern space that matches the first address through the next
|
||||
pattern space that matches the second.
|
||||
(If the second address is a number less than or equal to the line number
|
||||
first selected, only that line is selected.)
|
||||
Starting at the first line following the selected range,
|
||||
A command line with two addresses selects an inclusive range. This
|
||||
range starts with the first pattern space that matches the first
|
||||
address. The end of the range is the next following pattern space
|
||||
that matches the second address. If the second address is a number
|
||||
less than or equal to the line number first selected, only that
|
||||
line is selected. In the case when the second address is a context
|
||||
address, sed does not re-match the second address against the
|
||||
pattern space that matched the first address. Starting at the
|
||||
first line following the selected range, sed starts looking again
|
||||
for the first address.
|
||||
.Nm
|
||||
starts looking again for the first address.
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user