set -x gawk -f ../code/sawtooth.awk \ ERA=150 \ Verbose=0 \ Brief=0 \ SUBBINS=5 \ Pass=1 \ zThresh="-4.2645" \ ~/wisp/trunk/uci/discrete/c2d/diabetes.arff Pass=2 \ ~/wisp/trunk/uci/discrete/c2d/diabetes.arff \ | gawk -F, 'NR ==1 {next} NF < 2 { next} {N++} $NF == $(NF-1) {Good++ } {print $0 "," int(100*Good/N)} /index/ {exit}' \ | tee 1.out | less