`t' command of sed does not work fine.

Katsuhiro Watanabe katsu at srava.sra.JUNET
Fri Aug 18 12:34:58 AEST 1989


	Hello, world. I am using 4.3BSD on VAX.
 	I found a bug on sed of BSDs, so I would like to report it.

	Even if no substitution have been made before `t'(since
the most recent reading of and input line), it often branches.

	For example:
n125:104%cat t.sed
#
1{
        s/.*//
        d
}
t set
s/.*/t flag have been reset./
q
: set
s/.*/t flag is still set./
q
n125:105%echo '1\
2' | sed -f t.sed

	Then, on VAX, I get	"t flag is still set.".
	On SUN, 		"t flag have been reset.".

	On VAX, there is an inconsistency with manual.
	I think it occurs on most BSDs except SUN.

	Is this known yet?
							thank you.
----____----____
WATANABE Katsuhiro
Software Tools and Technology Division, SRA Inc., Japan.
Not compute f(x), but evaluate it.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list