| View previous topic :: View next topic |
| Author |
Message |
Ulf-Kenneth n00b

Joined: 16 Jun 2004 Posts: 34 Location: Umeå / Sweden
|
Posted: Sun Jul 09, 2006 1:29 pm Post subject: [Solved] visa vcore i conky |
|
|
Kan man använda grep med någon växel för att få ut en speciell position ur en rad?
| Code: | $ sensors |grep VCore
VCore: +1.10 V (min = +0.70 V, max = +1.87 V) |
Jag vill bara få ut "1.10"
Finns det något sätt att åstadkomma det?
Jag ska använda det för att visa spänningen i conky.
Last edited by Ulf-Kenneth on Sun Jul 09, 2006 9:12 pm; edited 1 time in total |
|
| Back to top |
|
 |
Ulf-Kenneth n00b

Joined: 16 Jun 2004 Posts: 34 Location: Umeå / Sweden
|
Posted: Sun Jul 09, 2006 9:11 pm Post subject: |
|
|
| Code: | $ sensors | grep VCore |cut -b 13-16
1.10 |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|