Abridged summary of comp.lang.tcl@googlegroups.com - 7 updates in 3 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 7 updates in 3 topics

comp.lang.tcl mailing list
Cecil Westerhof <[hidden email]>: Dec 01 02:18PM +0100

I want to fetch the frequencies out of /proc/cpuinfo.
 
This information is in line like:
cpu MHz : 1400.000
 
What is the best way to retrieve this information?
 
-- ...more
Rich <[hidden email]>: Dec 01 01:55PM


> This information is in line like:
> cpu MHz : 1400.000
 
> What is the best way to retrieve this information?
 
"Best" is somewhat of an 'opinion' type item.
 
One way to do so ...more
Cecil Westerhof <[hidden email]>: Dec 01 03:30PM +0100


> One way to do so would be to read the file line by line, pattern
> matching each line against "cpu MHz", then when a match is found,
> extract the numerical value.
 
That is what I do at the ...more
Ashok <[hidden email]>: Dec 01 09:16PM +0530

If you are willing to use tcllib you can try fileutil::grep
 
On 12/1/2017 8:00 PM, Cecil Westerhof wrote:
...more
Rich <[hidden email]>: Dec 01 06:28PM

>> matching each line against "cpu MHz", then when a match is found,
>> extract the numerical value.
 
> That is what I do at the moment:
[long code block elided - see prior post for details]
...more
Emmanuel Frecon <[hidden email]>: Dec 01 04:53AM -0800

Thank you Ashok, but I need a 32bit dll
...more
Arjen Markus <[hidden email]>: Dec 01 12:15AM -0800

On Tuesday, November 21, 2017 at 6:37:32 PM UTC+1, Andreas Leitgeb wrote:
> > The global remains for backwards compatibility with old code.
 
> Is tcl_precision already being considered for removal ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].