Overview
Comment: | Added () to [] conversion when the variable is i j k or an integer or combination |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c6efb99edeff52fc50470326a66a4e21 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-25 14:03:30 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-25
| ||
14:03:50 | Initial revision check-in: b5ff3d237b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:03:30 |
Added () to [] conversion when the variable is i j k or an integer or combination check-in: c6efb99ede user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:05:46 | Reorganised initialisation check-in: b1d77fef00 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_m2p from [1a6aeb0003] to [63255fcfd0].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + + + | # Copyright (c) P.J.Gawthrop 1998 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 1998/07/25 12:39:57 peterg ## begin on same line as for and if ## ## Revision 1.1 1998/07/25 09:42:52 peterg ## Initial revision ## ############################################################### |
︙ | |||
104 105 106 107 108 109 110 | 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 | - + - + + - + | sed "s/$space\[\($non_space\)\]$spaces=$spaces\($fun_name\)(\([a-zA-Z0-9,]*\))/\2(\1,\3)/" |\ sed "s/$space\[\($non_space\)\]$spaces=$spaces\($fun_name\)/\2(\1)/" |\ sed "s/$space\($non_space\)$spaces=$spaces\($fun_name\)(\([a-zA-Z0-9,]*\))/\2(\1,\3)/" |\ sed "s/$space\($non_space\)$spaces=$spaces\($fun_name\)/\2(\1)/" |\ awk ' BEGIN{ comment_regexp = "{" |
︙ | |||
153 154 155 156 157 158 159 | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | - + - + + + + - + - + | if (doing_header==1) comment[++j] = $0 else printf("%s\n", $0) } else { if ($1=="if") { |