summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/sed/multitest.t
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-04-02 07:50:10 +0000
committeryar <yar@FreeBSD.org>2007-04-02 07:50:10 +0000
commit03cf2678d28b868b3e66659a634c7932527eef53 (patch)
tree0b7621fc8a8b56efc1ca6a94ad5ad955cee304ad /tools/regression/usr.bin/sed/multitest.t
parent4158e20f813fb241127769d85e7cffc7c8672e79 (diff)
downloadFreeBSD-src-03cf2678d28b868b3e66659a634c7932527eef53.zip
FreeBSD-src-03cf2678d28b868b3e66659a634c7932527eef53.tar.gz
Today SUN and GNU seds fully agree on test 5.3 and behave
in a more reasonable way than BSD sed does: they properly close the range even if we branched over its end. No doubt, the range `1,5' should not match lines from 9 through 14.
Diffstat (limited to 'tools/regression/usr.bin/sed/multitest.t')
-rw-r--r--tools/regression/usr.bin/sed/multitest.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/usr.bin/sed/multitest.t b/tools/regression/usr.bin/sed/multitest.t
index 594afaf..9c0881f 100644
--- a/tools/regression/usr.bin/sed/multitest.t
+++ b/tools/regression/usr.bin/sed/multitest.t
@@ -280,7 +280,7 @@ b
:ok
s/^/tested /p
' lines1 lines2
-# SunOS and GNU sed behave differently here. Clarification needed.
+# SunOS and GNU sed behave as follows: lines 9-$ aren't printed at all
mark '5.3' ; $SED -n -e '
5,8b inside
1,5 {
OpenPOWER on IntegriCloud