summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/POSIX
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-04-05 13:31:17 +0000
committeryar <yar@FreeBSD.org>2007-04-05 13:31:17 +0000
commitf07477f890819ae598e6f4d7decec5e785849f72 (patch)
treeaacb95ebb126349a0d6f6b372bef4ab3566df62a /usr.bin/sed/POSIX
parent533e9e57ea460d0e9c737f9aa4b70b89b03bddd5 (diff)
downloadFreeBSD-src-f07477f890819ae598e6f4d7decec5e785849f72.zip
FreeBSD-src-f07477f890819ae598e6f4d7decec5e785849f72.tar.gz
Reflect the change in rev. 1.44 of process.c.
Add $FreeBSD$ to please commit_prep.pl.
Diffstat (limited to 'usr.bin/sed/POSIX')
-rw-r--r--usr.bin/sed/POSIX13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/sed/POSIX b/usr.bin/sed/POSIX
index 41955af..9bc6678 100644
--- a/usr.bin/sed/POSIX
+++ b/usr.bin/sed/POSIX
@@ -1,4 +1,5 @@
# @(#)POSIX 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
Comments on the IEEE P1003.2 Draft 12
Part 2: Shell and Utilities
@@ -117,10 +118,14 @@ All uses of "POSIX" refer to section 4.55, Draft 12 of POSIX 1003.2.
1,3c\
text
- Historic implementations, and this implementation, do not output
- the text in the above example. The general rule, therefore,
- is that a range whose second address is never matched extends to
- the end of the input.
+ Historic implementations did not output the text in the above
+ example. Therefore it was believed that a range whose second
+ address was never matched extended to the end of the input.
+ 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.
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