ref: bc2a7c9a7410261c1679d088e01bbf19bf4dd62e
dir: /proffillpix/
#!/bin/rc # written by sirjofri, with slight modifications. rfork en fn usage { echo usage: $0 prog [args] >[1=2] exit usage } if(~ $#* 0) usage ramfs cp $1 /tmp cd /tmp $* >/dev/null >[2=1] { for(f in prof.*){ # flambe $1 $f prof $1 $f | grep fillpix } } | awk '{ sum += $2; count++; print } END{ printf "sum: %.9f\n", sum; printf "avg: %.9f\n", sum / count; }'