summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/POSIX
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-04-05 17:12:01 +0000
committeryar <yar@FreeBSD.org>2007-04-05 17:12:01 +0000
commitecd3f3792917acda8013b0fe452ed37235f2d657 (patch)
tree50fee42d0b8b99ad865d674a75725ed228a21b9e /usr.bin/sed/POSIX
parent44021ff69137e8504972374860163a129e45810a (diff)
downloadFreeBSD-src-ecd3f3792917acda8013b0fe452ed37235f2d657.zip
FreeBSD-src-ecd3f3792917acda8013b0fe452ed37235f2d657.tar.gz
Add an important detail to paragraph 12: the range is reset only if its
second address is a line number.
Diffstat (limited to 'usr.bin/sed/POSIX')
-rw-r--r--usr.bin/sed/POSIX5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/sed/POSIX b/usr.bin/sed/POSIX
index 9bc6678..ff789d5 100644
--- a/usr.bin/sed/POSIX
+++ b/usr.bin/sed/POSIX
@@ -124,8 +124,9 @@ All uses of "POSIX" refer to section 4.55, Draft 12 of POSIX 1003.2.
However, the current practice adopted by this implementation,
as well as by those from GNU and SUN, is as follows: The text
from the 'c' command still isn't output because the second address
- isn't actually matched; but the range is reset after all. In the
- above example, only the first line of the input will be deleted.
+ isn't actually matched; but the range is reset after all if its
+ second address is a line number. In the above example, only the
+ first line of the input will be deleted.
13. Historical implementations allow an output suppressing #n at the
beginning of -e arguments as well as in a script file. POSIX
OpenPOWER on IntegriCloud