Index: mttroot/mtt/bin/trans/rep_txt2sh ================================================================== --- mttroot/mtt/bin/trans/rep_txt2sh +++ mttroot/mtt/bin/trans/rep_txt2sh @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.7 2002/05/01 14:07:44 gawthrop +## Added -dr foo (reads files from foo) dir. +## ## Revision 1.6 2002/04/28 18:55:03 geraint ## Fixed [ 549658 ] awk should be gawk. ## Replaced calls to awk with call to gawk. ## ## Revision 1.5 2000/11/27 10:13:25 peterg @@ -63,11 +66,11 @@ # Execute the commands - quietly and untidily! # But use switches # | sed "s/mtt /mtt -q -u $mtt_switches /" #| tee -a JUNK | sh -strip_comments< $1_rep.txt | awk ' +strip_comments< $1_rep.txt | gawk ' { ## Add in the external switches sub("mtt", sprintf("mtt %s", mtt_switches)); ## Count the switches (noting that -i -dr -dw and -de have an argument)