From owner-freebsd-doc Thu Jan 13 22:10: 4 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E3F5151B6 for ; Thu, 13 Jan 2000 22:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA72823; Thu, 13 Jan 2000 22:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 13 Jan 2000 22:10:02 -0800 (PST) Message-Id: <200001140610.WAA72823@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: John and Jennifer Reynolds Subject: Re: docs/10850: submitting a documentation change for sed(1) Reply-To: John and Jennifer Reynolds Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/10850; it has been noted by GNATS. From: John and Jennifer Reynolds 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