33c33
< # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 133385 2004-08-09 15:29:41Z dds $
---
> # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 167544 2007-03-14 09:05:41Z dds $
44c44,45
< BASE=/usr/bin/sed
---
> #BASE=/usr/bin/sed
> BASE=/usr/ports/textproc/gsed/work/sed-4.1.5/sed/sed
46c47,48
< TEST=`cd ..; make whereobj`/sed
---
> #TEST=`cd ..; make whereobj`/sed
> TEST=/home/dds/src/fbsd-head/sed/sed
58,59c60,61
< BSD=1
< GNU=0
---
> BSD=0
> GNU=1
63c65
< BSD=0
---
> BSD=1
172,173c174,175
< if [ $GNU -eq 1 -o $SUN -eq 1 ] ; then
< echo GNU and SunOS sed fail this following older POSIX draft
---
> if [ $SUN -eq 1 ] ; then
> echo SunOS sed fails this following older POSIX draft
209,216c211
< mark '2.11'
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '\_l1\_7_p' lines1
---
> mark '2.11' ; $SED -n '\_l1\_7_p' lines1
224,233c219,220
< mark '2.19'
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '12,3p' lines1 lines2
< mark '2.20'
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '/l1_7/,3p' lines1 lines2
---
> mark '2.19' ; $SED -n '12,3p' lines1 lines2
> mark '2.20' ; $SED -n '/l1_7/,3p' lines1 lines2
281,283d267
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
331,333d314
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
363,365d343
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
441,450c419,424
< if [ $BSD -eq 1 -o $GNU -eq 1 -o $SUN -eq 1 ] ; then
< echo BSD, GNU and SunOS cannot pass this one
< else
< sed '200q' $DICT | sed 's$.*$s/^/&/w tmpdir/&$' >script1
< rm -rf tmpdir
< mkdir tmpdir
< $SED -f script1 lines1
< cat tmpdir/*
< rm -rf tmpdir
< fi
---
> sed '200q' $DICT | sed 's$.*$s/^/&/w tmpdir/&$' >script1
> rm -rf tmpdir
> mkdir tmpdir
> $SED -f script1 lines1
> cat tmpdir/*
> rm -rf tmpdir
453c427
< echo BSD sed cannot pass 7.7
---
> echo BSD sed cannot pass 7.8
< # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 133385 2004-08-09 15:29:41Z dds $
---
> # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 167544 2007-03-14 09:05:41Z dds $
44c44,45
< BASE=/usr/bin/sed
---
> #BASE=/usr/bin/sed
> BASE=/usr/ports/textproc/gsed/work/sed-4.1.5/sed/sed
46c47,48
< TEST=`cd ..; make whereobj`/sed
---
> #TEST=`cd ..; make whereobj`/sed
> TEST=/home/dds/src/fbsd-head/sed/sed
58,59c60,61
< BSD=1
< GNU=0
---
> BSD=0
> GNU=1
63c65
< BSD=0
---
> BSD=1
172,173c174,175
< if [ $GNU -eq 1 -o $SUN -eq 1 ] ; then
< echo GNU and SunOS sed fail this following older POSIX draft
---
> if [ $SUN -eq 1 ] ; then
> echo SunOS sed fails this following older POSIX draft
209,216c211
< mark '2.11'
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '\_l1\_7_p' lines1
---
> mark '2.11' ; $SED -n '\_l1\_7_p' lines1
224,233c219,220
< mark '2.19'
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '12,3p' lines1 lines2
< mark '2.20'
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
< $SED -n '/l1_7/,3p' lines1 lines2
---
> mark '2.19' ; $SED -n '12,3p' lines1 lines2
> mark '2.20' ; $SED -n '/l1_7/,3p' lines1 lines2
281,283d267
< if [ $GNU -eq 1 ] ; then
< echo GNU sed fails this
< fi
331,333d314
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
363,365d343
< if [ $BSD -eq 1 ] ; then
< echo BSD sed fails this test
< fi
441,450c419,424
< if [ $BSD -eq 1 -o $GNU -eq 1 -o $SUN -eq 1 ] ; then
< echo BSD, GNU and SunOS cannot pass this one
< else
< sed '200q' $DICT | sed 's$.*$s/^/&/w tmpdir/&$' >script1
< rm -rf tmpdir
< mkdir tmpdir
< $SED -f script1 lines1
< cat tmpdir/*
< rm -rf tmpdir
< fi
---
> sed '200q' $DICT | sed 's$.*$s/^/&/w tmpdir/&$' >script1
> rm -rf tmpdir
> mkdir tmpdir
> $SED -f script1 lines1
> cat tmpdir/*
> rm -rf tmpdir
453c427
< echo BSD sed cannot pass 7.7
---
> echo BSD sed cannot pass 7.8