Index: mttroot/mtt/bin/trans/lbl2alias_txt2txt ================================================================== --- mttroot/mtt/bin/trans/lbl2alias_txt2txt +++ mttroot/mtt/bin/trans/lbl2alias_txt2txt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.5 1998/07/17 16:31:37 peterg +## Ignore component aliases (with /) +## ## Revision 1.4 1998/07/03 15:21:26 peterg ## Replace sub by gsub -- need to replace ALL , ## ## Revision 1.3 1998/07/03 13:49:03 peterg ## Flips the order of alias and name when $ is involved. @@ -42,11 +45,11 @@ echo "# Generated by MTT at `date`" >> $1_alias.txt #Write out the variables grep '[%|#]ALIAS' $1_lbl.txt |\ awk '{ - if (match($2,"/")==0){ + if (match($3,"/")==0){ if (match($2,"\\$")==0){ alias=$2; name =$3 } else{ alias=$3; name =$2