Overview
| Comment: | More forgiving of txt sytax.
-- can use () or () |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
33db0d0c43fbe38e81902a678b23c79c |
| User & Date: | gawthrop@users.sourceforge.net on 1998-07-26 09:50:12.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-07-26
| ||
| 10:28:30 |
Added a header line to avoid empty file and to trigger switch_txt2m to write initial stuff. check-in: 267315d480 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:50:12 |
More forgiving of txt sytax.
-- can use () or () | |
|
1998-07-25
| ||
| 20:43:56 | Lower case as well. check-in: 942a669b5f user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/txt2m
from [c2b9100cb6]
to [5285512dcf].
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.2 1998/07/25 09:48:31 peterg # %% Tidied up for Pascal version # %% # %% Revision 1.1 1998/02/25 22:10:25 peterg # %% Initial revision # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | > > > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.3 1998/07/25 20:40:35 peterg # %% All vars in lower case now # %% # %% Revision 1.2 1998/07/25 09:48:31 peterg # %% Tidied up for Pascal version # %% # %% Revision 1.1 1998/02/25 22:10:25 peterg # %% Initial revision # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| ︙ | ︙ | |||
51 52 53 54 55 56 57 |
#echo "global DT;" >> $1_$2.m
#Write out the variables in m format.
awk -F# '{
if (NF<2) print $1
if (NF>1) print $1 "# " $2
}' $1_$2.txt | \
| > > | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
#echo "global DT;" >> $1_$2.m
#Write out the variables in m format.
awk -F# '{
if (NF<2) print $1
if (NF>1) print $1 "# " $2
}' $1_$2.txt | \
sed 's/\[\([0-9]*\)\]/(\1)/g' |\
sed 's/x(/mttx(/g' | sed 's/u(/mttu(/g' |\
sed 's/mttmtt/mtt/g' >> $1_$2.m
|