我只想从命令输出中提取一个特定的值。
命令返回的字符串是这样的:
Result: " 5 Secs (11.2345%) 60 Secs (22.3456%) 300 Secs (33.4567%)"
我只想过滤 () 之间的“60 秒”值
22.3456%
我怎样才能做到这一点?
sed filter
filter ×1
sed ×1