]> rtime.felk.cvut.cz Git - can-eth-gw.git/blob - bench/ncrcv
linux: Fix bug
[can-eth-gw.git] / bench / ncrcv
1 #!/bin/bash
2 PORT=10600
3 FILENAME=`date +%Y-%m-%d-%H%M%S`_bench
4
5 echo -n "nc listening on $PORT: "
6 nc -l -p $PORT > result/$FILENAME.res
7
8 cd result
9 sed /^#/d $FILENAME.res > $FILENAME.raw
10 echo "done"
11