#! /bin/bash Datasets="../2CEE_results.csv ../2CEE_flight.csv ../2CEE_ground.csv" #Subsets="coc81_all nasa93_all coc81_kind_min coc81_lang_ftn coc81_mode_e coc81_kind_max coc81_mode_org coc81_lang_mol nasa93_project_gro nasa93_cat2_missionplanning nasa93_cat2_avionicsmonitoring nasa93_mode_semidetached nasa93_project_sts nasa93_forg_g nasa93_center_5 nasa93_year_1975 nasa93_year_1980 nasa93_mode_embedded nasa93_center_2" for Data in $Datasets do DataName=$(basename $Data .csv) if [ -d $DataName ]; then echo -n "" else mkdir $DataName fi #for Subset in $Subsets #do #RawFile=$DataName"/"$Subset"_Raw.txt" #RanksFile=$DataName"/"$Subset"_Ranks.txt" RawFile=$DataName"/Raw.txt" RanksFile=$DataName"/Ranks.txt" #grep $Subset $Data | grep -v FILE,METHOD,ESTIMATE,ACTUAL $Data | gawk 'BEGIN{FS=OFS=","}{print $2,$3,$4}' | ./nonParametricAnalysisWMW RawResultsFileName=$RawFile RanksFileName=$RanksFile #done #cd $DataName #../aggregate #cd .. done