Infinite replace in textedit

Hugh Fader hugh at slee01.srl.ford.com
Thu Jun 13 05:40:00 AEST 1991


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 at slee01.srl.ford.com




More information about the Comp.sys.sun mailing list