Overview
Comment: | Dash chokes on backtick, so replaced with |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
07944028dfbe0b95763d0be230c05b21 |
User & Date: | geraint@users.sourceforge.net on 2008-10-04 15:42:10 |
Other Links: | branch diff | manifest | tags |
Context
2009-06-26
| ||
01:08:49 |
Octave load path no longer accepts trailing // as recursive. Path is now calculated using find, which is much quicker than Octave's genpath() check-in: 2e80a3142e user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2008-10-04
| ||
15:42:10 | Dash chokes on backtick, so replaced with check-in: 07944028df user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2008-09-30
| ||
14:16:43 | Removed bashism. check-in: 97551e5fda user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/cc/sympar_txt2h.sh from [94d0885238] to [b45a52ff91].
1 2 3 4 5 6 7 8 9 10 | #! /bin/sh # $Id$ # $Log$ # Revision 1.8 2002/09/16 08:08:01 geraint # Merged changes from global-optimisation branch. # # Revision 1.7.2.1 2002/09/04 10:44:59 geraint # Added option to specify number of tmp variables declared (-ntmpvar <N>). # # Revision 1.7 2002/07/10 11:53:32 geraint | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #! /bin/sh # $Id$ # $Log$ # Revision 1.9 2004/08/29 03:18:11 geraint # Do not write temporary variables if NUM_OF_TMP_VAR = 0. # # Revision 1.8 2002/09/16 08:08:01 geraint # Merged changes from global-optimisation branch. # # Revision 1.7.2.1 2002/09/04 10:44:59 geraint # Added option to specify number of tmp variables declared (-ntmpvar <N>). # # Revision 1.7 2002/07/10 11:53:32 geraint |
︙ | ︙ | |||
86 87 88 89 90 91 92 | declare_temp_vars () { for name in ${TMP_VAR_NAMES} do echo "" | | | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | declare_temp_vars () { for name in ${TMP_VAR_NAMES} do echo "" cat <<EOF | head -$(expr ${NUM_OF_TMP_VAR} + 1) static double ${name}0 MTT_UNUSED; static double ${name}1 MTT_UNUSED; static double ${name}2 MTT_UNUSED; static double ${name}3 MTT_UNUSED; static double ${name}4 MTT_UNUSED; static double ${name}5 MTT_UNUSED; static double ${name}6 MTT_UNUSED; |
︙ | ︙ |