Index: mttroot/mtt/bin/trans/abg2lbl_fig2txt ================================================================== --- mttroot/mtt/bin/trans/abg2lbl_fig2txt +++ mttroot/mtt/bin/trans/abg2lbl_fig2txt @@ -11,10 +11,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.26 2002/04/28 18:41:26 geraint +## Fixed [ 549658 ] awk should be gawk. +## Replaced calls to awk with call to gawk. +## ## Revision 1.25 2001/10/15 14:27:00 gawthrop ## Now handles [1:N] style port labels ## ## Revision 1.24 2001/08/02 03:24:48 geraint ## Replaced mtt_version.sh with mtt_banner.sh - I think this was the intent. @@ -231,17 +235,22 @@ cr["Df"] = "SS"; arg["Df"] = "external"; cr["R"] = lin; arg["R"] = sprintf("flow,%s%s", Name, s_arg); cr["C"] = lin; arg["C"] = sprintf("effort,%s%s", Name, s_arg); cr["I"] = lin; arg["I"] = sprintf("flow,%s%s", Name, s_arg); + + cr["INTF"] = lin; arg["INTF"] = ""; cr["CS"] = "lin"; arg["CS"] = sprintf("effort,%s;%s_x0%s", Name, Name, s_arg); cr["IS"] = "lin"; arg["IS"] = sprintf("flow,%s;%s_x0%s", Name, Name, s_arg); cr["INTFS"] = "lin"; arg["INTFS"] = sprintf("%s_x0%s", Name, s_arg); cr["TF"] = "lin"; arg["TF"] = sprintf("flow,%s%s", Name, s_arg); cr["GY"] = "lin"; arg["GY"] = sprintf("flow,%s%s", Name, s_arg); + + ##cr["EMTF"] = sprintf("%s", Name); arg["EMTF"] = sprintf("l%s", s_arg); + cr["EMTF"] = "lin"; arg["EMTF"] = sprintf("flow,%s%s", Name, s_arg); cr["AE"] = "lin"; arg["AE"] = sprintf("%s%s", Name, s_arg); cr["AF"] = "lin"; arg["AF"] = sprintf("%s%s", Name, s_arg); cr["CDx"] = "lin"; arg["CDx"] = sprintf("%s%s", Name, s_arg); @@ -261,11 +270,11 @@ else # assume a linear cr cr[Component] = "lin"; } ## Print component header - if (Component !~ OldComponent) print "\n## Component type", Component_type + if (Component != OldComponent) print "\n## Component type", Component_type ## Print Component printf("\t%s\t", Name); if (Component in cr) printf("%s\t\t", cr[Component])