Me=`basename $0` Safe=$HOME/var/xomo/$Me echo $Safe mkdir -p $Safe . sandbox N=${N=1} Header='$KSLOC,$acap,$peer_reviews_mean,$peer_reviews,<$composite' Data=$Here/coqualmo1000-8.23.06.csv echo $Header > $Safe/$N.csv ( echo $Header cat $Data | gawk -F, 'NR>1 ' Want=$N | tee $Safe/$N.csv | cut -d, -f 2-5,9 ) > cut.data bore N=0.75 Pass=1 cut.data \ Pass=2 cut.data \ Pass=3 cut.data > db.data cat <db.cfg granularity: 2 maxNumber: 5 maxSize : 10 randomTrials: 500 futileTrials: 5 bestClass: 25% EOF cat <db.names _1,_0 KSLOC: continuous acap: 2,3,4,5,6. peer_reviews_mean: 1,2,3,4,5,6. peer_reviews: 1,2,3,4,5,6. EOF tar3 $Tmp/db | tee $Safe/tar.$Me.$N cd $Safe echo $Safe/tar.$Me.$N pwd ls $Safe exit # #round, dmean, dsd, rmean, rsd, emean, esd 1, 4.23, 5.39, 0.68, 0.68, 456, 484 2, 4.17, 5.2, 0.68, 0.68, 451, 480 3, 1.88, 2.13, 0.68, 0.68, 444, 472 4, 0.81, 0.83, 0.68, 0.68, 453, 480 5, 0.54, 0.54, 0.68, 0.68, 468, 446 6, 0.5, 0.5, 0.68, 0.68, 497, 419