in reply to simple awk feature in perl
I'm confused as to "floating point integer" - that seems an oxymoron. It's floating point or integer, no?
In any case the ifInOctets is a Counter32 type which is an integer so I don't think the floating point issues comes up at all.
Instead of "...| awk {'print $4'}", you could use:
...| perl -ane 'print $F[3]'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: simple awk feature in perl
by FreeBeerReekingMonk (Deacon) on Feb 24, 2015 at 18:27 UTC |