replace 35dB with 35; useful for calculating averages

tcpdump -n -r power11 | awk ' { print $17 } ; ' | sed 's/dB//' | awk '{c++;s+=$1} END {print s/c}'

tcpdump -n -r power11 | awk ' { print $17 } ; ' | sed 's/\([0-9]*\)dB/\1/'

-- AmitaEkbote - 30 Jun 2009

 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF