diff options
author | yar <yar@FreeBSD.org> | 2007-04-05 17:12:01 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2007-04-05 17:12:01 +0000 |
commit | ecd3f3792917acda8013b0fe452ed37235f2d657 (patch) | |
tree | 50fee42d0b8b99ad865d674a75725ed228a21b9e | |
parent | 44021ff69137e8504972374860163a129e45810a (diff) | |
download | FreeBSD-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.
-rw-r--r-- | usr.bin/sed/POSIX | 5 |
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 |