I need to get that number "39035", and I've been tinkering with a one-liner (though yeah, I'm a rusty-newbie), and the following doesn't work for me:+--------------------------------------------------------------------- +----------------------------+ | Total SE In Database + +--------------------------------------------------------------------- +----------------------------+ + Total SE Database + ----------------- + 44835 + +--------------------------------------------------------------------- +----------------------------+ | Total SE ON + +--------------------------------------------------------------------- +----------------------------+ + Total SE ON + ----------- + 39035 + +--------------------------------------------------------------------- +----------------------------+ | Total SE ON For SNMP + +--------------------------------------------------------------------- +----------------------------+
Any suggestions Gurus?perl -ne 'if (m/^Total SE ON.*(\d+)/s) {print "$1\n"}' *
In reply to One liner by manav_gupta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |