Date: Thu, 13 Jan 2000 22:10:02 -0800 (PST) From: John and Jennifer Reynolds <jjreynold@home.com> To: freebsd-doc@freebsd.org Subject: Re: docs/10850: submitting a documentation change for sed(1) Message-ID: <200001140610.WAA72823@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/10850; it has been noted by GNATS. From: John and Jennifer Reynolds <jjreynold@home.com> To: freebsd-gnats-submit@FreeBSD.org Cc: scott@zorch.sf-bay.org Subject: Re: docs/10850: submitting a documentation change for sed(1) Date: Thu, 13 Jan 2000 23:06:31 -0700 (MST) I read through this PR and this section of the sed(1) man page was a bit confusing in its wording as Scott mentions. Scott's wording seems better. The PR mentions FreeBSD 2.2.8 but the "fix" applies to 3.4-STABLE. I've taken his "fix" and put it into patch for so that one of you committers can easily burn it into /usr/src/usr.bin/sed/sed.1 and we can close this PR. --- /usr/src/usr.bin/sed/sed.1 Fri Dec 31 10:10:58 1999 +++ sed.1 Thu Jan 13 22:59:31 2000 @@ -140,12 +140,16 @@ 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, +.Nm +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, .Nm starts looking again for the first address. .Pp -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 3.4-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001140610.WAA72823>