Overview
Comment:Writes junctions to component list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 848ba86dbfc1483020ac4793c9f0ea06015245dc8bb14a517b06cd31298da99e
User & Date: geraint@users.sourceforge.net on 2004-08-04 21:34:17
Other Links: branch diff | manifest | tags
Context
2004-08-04
21:47:28
Names anonymous components consistently with Xfig models. check-in: 282e8edd95 user: geraint@users.sourceforge.net tags: origin/master, trunk
21:34:17
Writes junctions to component list. check-in: 848ba86dbf user: geraint@users.sourceforge.net tags: origin/master, trunk
19:51:14
Specifies maintainers address. check-in: 5529613571 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2cmp_fig2txt from [8f79e32c94] to [ef01106a85].

8
9
10
11
12
13
14





15
16
17
18
19
20
21
  ##### Model Transformation Tools #####
  ######################################
  
  ###############################################################
  ## Version control history
  ###############################################################
  ## $Log$





  ## 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
  ## Replaces defunct abg2lbl_fig2txt
  ##







>
>
>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  ##### Model Transformation Tools #####
  ######################################
  
  ###############################################################
  ## 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
  ## Replaces defunct abg2lbl_fig2txt
  ##
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

}

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}







<
<
<
<






<

66
67
68
69
70
71
72




73
74
75
76
77
78

79

}

remove_port_labels() {
  grep -v '^\[.*\]$'
}





## Create header
header > ${outfile}

## Make list of components
get_valid_components < ${infile} |\
   remove_port_labels |\

   sort >> ${outfile}


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]