On Tue, Nov 9, 2010 at 7:08 AM, Steve Bennett <[email protected]> wrote: > Probably it is a good idea to use echo everywhere for consistency, > but you could simply redefine puts in terms of echo.
Hi Steve, overriding puts is the simpler way to avoid replacing all the tcl scripts. I have to admit I did not considered this opportunity. I'm unable to judge if such overriding can be an issue to someone, but I don't think anyone could need the current behaviour of puts. On the other side, using echo everywhere make the picture simpler to newbies. I remember I spent some time to check why tcl script mixes echo and puts, before realize they share similar behaviour. Now that echo and puts are not interchangeable anymore, is probably the right time to clean-up tcl scripts. Best Regards, Antonio Borneo _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
