[新手]请教关于读取标准输出时过滤的问题

[新手]请教关于读取标准输出时过滤的问题

[新手]请教关于读取标准输出时过滤的问题
我想要从系统命令sensors的输出中得到我想要的串,其他的不要;怎么做过滤,大虾们给点思路,谢谢。
sensors的输出的原样:
it87-isa-0290
Adapter: ISA adapter
VCore 1: +1.52 V (min = +1.42 V, max = +1.57 V)
VCore 2: +1.84 V (min = +2.40 V, max = +2.61 V) ALARM
+3.3V: +6.66 V (min = +3.14 V, max = +3.46 V) ALARM
+5V: +5.11 V (min = +4.76 V, max = +5.24 V)
+12V: +11.90 V (min = +11.39 V, max = +12.61 V)
-12V: -1.22 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -9.07 V (min = -5.26 V, max = -4.77 V) ALARM
Stdby: +5.08 V (min = +4.76 V, max = +5.24 V)
VBat: +3.07 V
fan1: 3183 RPM (min = 0 RPM, div = 8)
fan2: 0 RPM (min = 3013 RPM, div = 8) ALARM
fan3: 0 RPM (min = 3013 RPM, div = 8) ALARM
M/B Temp: +27掳C (low = +15掳C, high = +40掳C) sensor = diode
CPU Temp: +36掳C (low = +15掳C, high = +45掳C) sensor = thermistor
Temp3: -55掳C (low = +15掳C, high = +45掳C) sensor = thermistor

我想要得到的样子:
VCore 1: +1.52 V
VCore 2: +1.84 V
+3.3V: +6.66 V
+5V: +5.11 V
+12V: +11.90 V
-12V: -1.22 V
-5V: -9.07 V
Stdby: +5.08 V
VBat: +3.07 V
fan1: 3183 RPM
fan2: 0 RPM
fan3: 0 RPM
M/B Temp: +27掳C
CPU Temp: +36掳C
乞求大虾们指点一下,我刚开始学perl
[CCB]9[/CCB] 难道不能实现我期望的么
perl -p -i -e 's/\(*$//.
perl -p -i -e 's/\(*$//g' filename
没有测试过,你看看吧