Overview
Comment: | Added -I switch |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3d2fb0d81df5ecee2e70965db957ea50 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-10 08:43:46 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-10
| ||
09:01:42 | Added error + info file in new form check-in: b3ebb38395 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:43:46 | Added -I switch check-in: 3d2fb0d81d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-07-08
| ||
15:45:50 | out now aliases 2 check-in: 5b0761c846 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/abg2cbg_m from [9d1ac8f9b2] to [eed70ddc38].
︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + + + | # Acausal bond graph to causal bond graph: mfile format ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.11 1998/01/23 13:29:54 peterg ## $RMATRIX --> $MATRIX ## # Revision 1.10 1996/12/04 21:51:02 peterg # Now uses filenum instead of line name. # Uses fopen # # Revision 1.9 1996/11/06 15:49:33 peterg # Cahged $MATRIX to $RMATRIX # |
︙ | |||
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | + + + + + + + + + + - + + - + + - + + + | # # P.J.Gawthrop May 1996 # Copyright (c) P.J.Gawthrop, 1996. # P.J.Gawthrop May 1996 # Copyright (c) P.J.Gawthrop, 1996. while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -I ) info=info;; *) echo "$1 is an invalid argument - ignoring" ;; esac shift done infofile='mtt_info.txt' typefile="$1_type.sh" # Remove the old log file rm -f abg2cbg_m.log rm -f $1_cbg.m rm -f $typefile rm -f $infofile #Inform user echo Creating $1_cbg.m echo Creating $1_type.sh # Use matrix manipulation to accomplish the transformation |