Index: mttroot/mtt/bin/trans/lbl_txt2tex ================================================================== --- mttroot/mtt/bin/trans/lbl_txt2tex +++ mttroot/mtt/bin/trans/lbl_txt2tex @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.7 1998/07/27 12:56:26 peterg +## Splits up | separated expressions. +## ## Revision 1.6 1998/07/27 10:56:31 peterg ## Cosmetics. ## ## Revision 1.5 1998/07/27 08:29:44 peterg ## Include a comment field in the aliases @@ -43,11 +46,11 @@ echo "% Generated by MTT at `date`" >> $1_lbl.tex #Write out the Description grep '[%|#]SUMMARY' $1_lbl.txt | sed 's/_/\\_/g' |\ awk '{ - print "\\paragraph{System " $2 ":" + printf("\\paragraph{System %s:",$2); for (i=3;i<=NF;i++) printf("%s ",$i); print "" print "}" }' >> $1_lbl.tex grep '[%|#]DESCRIPTION' $1_lbl.txt | sed 's/_/\\_/g' |\ awk '{