rm -f outfile touch outfile grep "Mbit/sec\|Send" results.CP | head -20 > outfile grep "msec/call\|Send" results.CP | head -20 >> outfile