summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed
diff options
context:
space:
mode:
authorunfurl <unfurl@FreeBSD.org>2000-02-15 03:00:47 +0000
committerunfurl <unfurl@FreeBSD.org>2000-02-15 03:00:47 +0000
commit2ab3d3d179c94f4839f72b7333cb5530dfbcce73 (patch)
tree04ebaa6f2bb17bda18279406de2ee88577395684 /usr.bin/sed
parent217354565ed25ac52dc8adc82beddf6de1529270 (diff)
downloadFreeBSD-src-2ab3d3d179c94f4839f72b7333cb5530dfbcce73.zip
FreeBSD-src-2ab3d3d179c94f4839f72b7333cb5530dfbcce73.tar.gz
PR: 10850
Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
Diffstat (limited to 'usr.bin/sed')
-rw-r--r--usr.bin/sed/sed.116
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1
index 815138b..31286c5 100644
--- a/usr.bin/sed/sed.1
+++ b/usr.bin/sed/sed.1
@@ -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
OpenPOWER on IntegriCloud