On 09/11/2010, at 9:55 AM, Antonio Borneo wrote:

> On Tue, Nov 9, 2010 at 7:08 AM, Steve Bennett <ste...@workware.net.au> 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.

I agree. It was more of an FYI.

Cheers,
Steve
--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au      P: 0434 921 300
E: ste...@workware.net.au   F: 07 3102 9221




_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to