Hi ! do you men that "t" represents the received packet and "r" receved packet ! it is impossible because i do this "cat
gpsr-wave.tr | awk '{print substr($1,1,1)}' | grep r | wc -l" to obtain number of received packet and cat
gpsr-wave.tr | awk '{print substr($1,1,1)}' | grep t | wc -l for the transmitted packet. results are r >> t.