Index: mttroot/mtt/bin/trans/cr_txt2r ================================================================== --- mttroot/mtt/bin/trans/cr_txt2r +++ mttroot/mtt/bin/trans/cr_txt2r @@ -14,10 +14,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.10 2000/02/25 09:10:12 peterg +## Changed -e to -f in if [ -f "$crf" ]; then +## -- cuased probs on SUN +## ## Revision 1.9 2000/02/16 15:58:17 peterg ## Set level='' not $2 ## ## Revision 1.8 1998/11/20 09:48:31 peterg ## Remove the _lower stuff -- see idf this works now. @@ -109,13 +113,15 @@ ## list of the crs crs=`cat $1_cr.txt` for cr in $crs; do crf=$cr'_cr.r' if [ -f "$crf" ]; then - printf "\045 (%s exists)\n" $crf >> $crfile +## printf "\045 (%s exists)\n" $crf >> $crfile + echo "% ($crf exists)\n" >> $crfile else - printf 'in "%s.cr";\n' $cr >> $crfile +## printf 'in "%s.cr";\n' $cr >> $crfile + echo 'in "'$cr.cr'";\n' >> $crfile fi done ## fi echo 'END;' >> $crfile