Overview
Comment: | Auto change of () to [] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7cffaa933b8df3849a47425c6099983e |
User & Date: | gawthrop@users.sourceforge.net on 1997-06-13 09:42:25 |
Other Links: | branch diff | manifest | tags |
Context
1997-06-13
| ||
12:46:59 | Initial revision check-in: a70d6f7acd user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:42:25 | Auto change of () to [] check-in: 7cffaa933b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:34:39 | changed [] to () check-in: 0cb39eafdf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/numpar_txt2c from [786083af67] to [0406b76cc5].
︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.3 1997/05/03 15:01:42 peterg # Don't write out RCS headers. # # Revision 1.2 1997/05/01 08:35:18 peterg # # is now the comment symbol in the .txt file # # Revision 1.1 1997/05/01 08:25:31 peterg | > > > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.4 1997/05/15 08:33:07 peterg # Declare state array (x). # # Revision 1.3 1997/05/03 15:01:42 peterg # Don't write out RCS headers. # # Revision 1.2 1997/05/01 08:35:18 peterg # # is now the comment symbol in the .txt file # # Revision 1.1 1997/05/01 08:25:31 peterg |
︙ | ︙ | |||
46 47 48 49 50 51 52 | echo "$1_numpar()" >> $1_numpar.c echo '{' >> $1_numpar.c #Write out the variables in c format. awk -F# '{ if (NF<2) print $1 if (NF>1) print $1 "/* " $2 " */" | | > | > | 49 50 51 52 53 54 55 56 57 58 59 60 | echo "$1_numpar()" >> $1_numpar.c echo '{' >> $1_numpar.c #Write out the variables in c format. awk -F# '{ if (NF<2) print $1 if (NF>1) print $1 "/* " $2 " */" }' $1_numpar.txt | sed 's/(\([0-9]*\))/[\1]/' >> $1_numpar.c echo '}' >> $1_numpar.c |