Mercurial > hg > aimc
changeset 224:a4dd813b9b6a
- Bash scripting is rubbish.
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 01:41:19 +0000 |
parents | 712d29a17d67 |
children | 503b6f40d0aa |
files | experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 01:40:37 2010 +0000 +++ b/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 "<BEGINHMM>" $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