我有一个文件:
"UDP", "x", 12880, "any", "any", x, 0.0.0.0/0, 0.0.0.0/0, {85000, drop, -1, fast+dsample:1000}, {1m, alert, -1, none}
如何更改“{”之后的 85000 数字并将其乘以一个值以将其减去 awk。像:85000*0.75= 63,750 最后一行应该是:
"UDP", "x", 12880, "any", "any", x, 0.0.0.0/0, 0.0.0.0/0, {63750, drop, -1, fast+dsample:1000}, {1m, alert, -1, none}