Index: mttroot/mtt/bin/trans/abg2cmp_fig2txt ================================================================== --- mttroot/mtt/bin/trans/abg2cmp_fig2txt +++ mttroot/mtt/bin/trans/abg2cmp_fig2txt @@ -10,10 +10,15 @@ ############################################################### ## Version control history ############################################################### ## $Log$ + ## Revision 1.3 2002/12/06 22:12:28 geraint + ## Removed unique option from sort + ## - prevents multiple anonymous components from existing + ## - duplicate named components are caught by rbg_fig2m.awk anyway + ## ## Revision 1.2 2002/12/06 11:47:49 gawthrop ## Checks levels in fig file to extract genuine components ## Puts comments at top of cmp.txt file ## ## Revision 1.1 2002/12/01 14:54:39 gawthrop @@ -63,17 +68,12 @@ remove_port_labels() { grep -v '^\[.*\]$' } -remove_junctions() { - grep -v '^[01]$' -} - ## Create header header > ${outfile} ## Make list of components get_valid_components < ${infile} |\ remove_port_labels |\ - remove_junctions |\ sort >> ${outfile}