]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blob - stridetune-dat.bash
zfec/zunfec: make the cmdline programs take input from stdin
[tahoe-lafs/zfec.git] / stridetune-dat.bash
1 #!/bin/bash
2
3 DAT=stridetune.dat
4 rm -f $DAT
5 for F in benchresults/comp_0-stride_*; do
6     NUM=${F:27}
7     for M in `grep "^N: " benchresults/comp_0-stride_$NUM | cut -d':' -f10-` ; do
8         echo "$NUM $M" >> $DAT
9     done
10 done