1 2 3 4 5
#!/bin/bash if [ -f performance.out.raw ]; then cat performance.out.raw | tr "\r" "\n" | grep ^PERF | cut -d" " -f2 > performance.out fi