# /* vim: set filetype=sh : */ -*- sh -*- Here=`pwd` Safe=${Here}/../data/cooked/39 mkdir -p $Safe Tmp=`mktemp -d` trap "rm -rf $Tmp" 0 1 2 3 15 cd $Tmp What=${What=cm1} WHAT=`echo $What | tr [a-z] [A-Z]` Dir=$Here/../data/raw/${What}_mdp_data Raw="${Dir}/${WHAT}_product_module_metrics.csv" gawk -f $Here/../gawk/mdpModule2CSV Log="10,20" Ignore="1,16,31" $Raw > ${What}_39.csv $wEka weka.core.converters.CSVLoader ${What}_39.csv | sed 's/L=//' | # thing sed 's/=//g' | # thing sed "s/\'//g" > $Safe/$What.arff ls -lsa $Safe/$What.arff