On Mon, Jul 18, 2011 at 3:05 PM, Andreas Schwab <sch...@linux-m68k.org> wrote:
> Gabriel Charette <gch...@google.com> writes:
>
>> On Sat, Jul 16, 2011 at 12:59 AM, Andreas Schwab <sch...@linux-m68k.org> 
>> wrote:
>>>
>>> gch...@google.com (Gabriel Charette) writes:
>>>
>>> > +         set expectedSum [exec tr -d \} << [exec cut -f 4 -d\  << 
>>> > $xdiff_entry]]
>>
>> $xdiffentry is set to something like {{pph asm diff 123456}}, so i
>> need tr and cut to extract 123456
>
> tcl can everything tr and cut can do (with the above options anyway).
>
>> If there are ways to do this directly in TCL, without using exec
>> calls, I'd be glad to know.
>
> Read split(n) and string(n).
>

Thanks for the suggestion,
suggested changes made as part of issue 4768041.

Gabriel

Reply via email to