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: 5720b32915827038d45585c36da30a9aaca5c786a725f9e6e90bf0097a901db9
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: 689be77ba9 user: geraint@users.sourceforge.net tags: origin/master, trunk
21:34:17
Writes junctions to component list. check-in: 5720b32915 user: geraint@users.sourceforge.net tags: origin/master, trunk
19:51:14
Specifies maintainers address. check-in: 00cb23ca74 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
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
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}


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