[comp.sys.sun] Infinite replace in textedit

hugh@slee01.srl.ford.com (Hugh Fader) (06/13/91)

We have just discovered an interesting bug in textedit under OpenLook.
Say I am editing a file containing the word myfile only once. If in the
Text:Find and Replace menu I put myfile in the Find field and put
../myfile in the Replace field, then press the Replace All button, the
editor goes into an infinite loop replacing myfile with ../myfile over and
over.

Can others duplicate this? It seems like a great party trick. :-)

Hugh Fader
hugh@slee01.srl.ford.com

A.J.D.Hurley@stl.stc.co.uk (Andrew J D Hurley) (06/28/91)

In the referenced article hugh@slee01.srl.ford.com (Hugh Fader) writes:
>Can others duplicate this? It seems like a great party trick. :-)

No trouble, I just nearly brought my Sunview down by trying it. In other
words, it's not just and OW bug. Quite a classic, well done Sun !
-- 
Andrew J D Hurley,     ( ajdh@stl.stc.co.uk )
Mail route:   uunet!ukc!stl!ajdh  |  Phone:   +44 279 429531 x. 2535
BNR Europe Ltd., London Road, Harlow, Essex CM17 9NA, UK.