for i in {0..8}; do echo -n "./error_run_{$(($i*30))..$(($i*30+29))}.txt" "~/nl ~/nl "; done; echo grep -hm 1 -e "FittnesRes" -e "ö" ./error_run_{540..569}.txt ~/nl ~/nl ./error_run_{570..599}.txt ~/nl ~/nl ./error_run_{600..629}.txt ~/nl ~/nl ./error_run_{630..659}.txt ~/nl ~/nl ./error_run_{660..689}.txt ~/nl ~/nl ./error_run_{690..719}.txt ~/nl ~/nl ./error_run_{720..749}.txt ~/nl ~/nl ./error_run_{750..779}.txt ~/nl ~/nl ./error_run_{780..809}.txt | grep -e "accuracy = [^,]*" -e "ö" -o | grep -e "[0-9.]*" -e "ö" -o | tr -d "ö" > results for i in {0..8}; do echo "cat ./output_run_{$(($i*30))..$(($i*30+29))}.txt | grep \"FittnesRes\" | tr -d \",}\" | tr \".\" \",\"| datamash -t \" \" -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr \",\" \".\" | sort -h > averaged_${i}_iris"; done; cat ./output_run_* | grep "FittnesRes" | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged cat ./output_run_{0..29}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_0 cat ./output_run_{30..59}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_1 cat ./output_run_{60..89}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_2 cat ./output_run_{90..119}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_3 cat ./output_run_{120..149}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_4 cat ./output_run_{150..179}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_5 cat ./output_run_{180..209}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_6 cat ./output_run_{210..239}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_7 cat ./output_run_{240..269}.txt | grep FittnesRes | tr -d ",}" | tr "." ","| datamash -t " " -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr "," "." > averaged_8 for i in {18..26}; do echo "cat ./output_run_{$(($i*30))..$(($i*30+29))}.txt | grep \"FittnesRes\" | tr -d \",}\" | tr \".\" \",\"| datamash -t \" \" -s -g 1 median 17 perc:90 17 perc:10 17 median 23 perc:90 23 perc:10 23 | tr \",\" \".\" | sort -h > averaged_$(($i-18))_german"; done;