diff options
author | yar <yar@FreeBSD.org> | 2007-04-02 07:50:10 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2007-04-02 07:50:10 +0000 |
commit | 03cf2678d28b868b3e66659a634c7932527eef53 (patch) | |
tree | 0b7621fc8a8b56efc1ca6a94ad5ad955cee304ad /tools/regression | |
parent | 4158e20f813fb241127769d85e7cffc7c8672e79 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | tools/regression/usr.bin/sed/multitest.t | 2 | ||||
-rw-r--r-- | tools/regression/usr.bin/sed/regress.multitest.out/54_5.3 | 12 |
2 files changed, 1 insertions, 13 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 { diff --git a/tools/regression/usr.bin/sed/regress.multitest.out/54_5.3 b/tools/regression/usr.bin/sed/regress.multitest.out/54_5.3 index 85b0b77..e1ddb54 100644 --- a/tools/regression/usr.bin/sed/regress.multitest.out/54_5.3 +++ b/tools/regression/usr.bin/sed/regress.multitest.out/54_5.3 @@ -10,15 +10,3 @@ l1_5$ l1_6$ l1_7$ l1_8$ -^l1_9 -^l1_9$ -^l1_10 -^l1_10$ -^l1_11 -^l1_11$ -^l1_12 -^l1_12$ -^l1_13 -^l1_13$ -^l1_14 -^l1_14$ |