# HG changeset patch # User tomwalters # Date 1284428479 0 # Node ID 8108c710a77ce6713a301341bde56504aa5e07c5 # Parent 403f7c8f797bfd5abf71f85fac2a8636cb9b2558 - Bash scripting is rubbish. diff -r 403f7c8f797b -r 8108c710a77c trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh --- a/trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 01:40:37 2010 +0000 +++ b/trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 01:41:19 2010 +0000 @@ -63,7 +63,7 @@ grep -A 9999 "" $WORKING_DIRECTORY/$hmm_type/hmm0/$HMMPROTO > $WORKING_DIRECTORY/$hmm_type/hmm0/hmms if [ -e $WORKING_DIRECTORY/$hmm_type/hmm0/hmmdefs ]; then rm $WORKING_DIRECTORY/$hmm_type/hmm0/hmmdefs -done +fi for syllable in $(cat $WORKING_DIRECTORY/$SYLLIST_COMPLETE); do echo "~h $syllable" >> $WORKING_DIRECTORY/$hmm_type/hmm0/hmmdefs cat $WORKING_DIRECTORY/$hmm_type/hmm0/hmms >> $WORKING_DIRECTORY/$hmm_type/hmm0/hmmdefs