36a37,38
> # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 117900 2003-07-22 19:22:08Z dds $
> #
433,437c435
< if [ $BSD -eq 1 ] ; then
< echo 'BSD sed drops core on this one; TEST SKIPPED'
< else
< $SED -n l lines3
< fi
---
> $SED -n l lines3
504,509c502,517
< if [ $BSD -eq 1 ] ; then
< echo 'BSD sed does not handle branch defined REs'
< else
< echo 'eeefff' | $SED -e 'p' -e 's/e/X/p' -e ':x' \
< -e 's//Y/p' -e '/f/bx'
< fi
---
> echo 'eeefff' | $SED -e '
> p
> s/e/X/p
> :x
> s//Y/p
> # Establish limit counter in the hold space
> # GNU sed version 3.02 enters into an infinite loop here
> x
> /.\{10\}/ {
> s/.*/ERROR/
> b
> }
> s/.*/&./
> x
> /f/bx
> '
> # $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 117900 2003-07-22 19:22:08Z dds $
> #
433,437c435
< if [ $BSD -eq 1 ] ; then
< echo 'BSD sed drops core on this one; TEST SKIPPED'
< else
< $SED -n l lines3
< fi
---
> $SED -n l lines3
504,509c502,517
< if [ $BSD -eq 1 ] ; then
< echo 'BSD sed does not handle branch defined REs'
< else
< echo 'eeefff' | $SED -e 'p' -e 's/e/X/p' -e ':x' \
< -e 's//Y/p' -e '/f/bx'
< fi
---
> echo 'eeefff' | $SED -e '
> p
> s/e/X/p
> :x
> s//Y/p
> # Establish limit counter in the hold space
> # GNU sed version 3.02 enters into an infinite loop here
> x
> /.\{10\}/ {
> s/.*/ERROR/
> b
> }
> s/.*/&./
> x
> /f/bx
> '