#!/bin/bash rm -f results/* cd ../ scripts/average_ensemble.pl Run_new8_3264 high_3264_4.8_-0.25_0.0 32 64 100 20 scripts/average_ensemble.pl Run_new8_3264 low_3264_4.8_-0.25_0.005 32 64 200 20 scripts/average_ensemble.pl Run_new8_3264 high_3264_4.8_-0.25_0.01 32 64 200 20 scripts/average_ensemble.pl Run_new8_3264 low_3264_5.0_-0.25_0.02 32 64 200 20 scripts/average_ensemble.pl Run_new8_3264 low_3264_5.4_-0.25_0.0025 32 64 600 20 # Since we don't have overlapping hot- and cold-start runs to compare, # merge all the results into files with slightly shorter names cd Run_new8_3264/results for file in *.cold ; do cat $file >> ${file/cold/hot} # Find and replace "cold" with "hot" rm $file done for file in *.hot ; do # Sort hot and cold together mv $file TEMP sort TEMP > ${file/.hot/} # Find and replace ".hot" with nothing done