Artifact edc3797ff86d3b750996c61857ace252e2ac5ea92f82b0d6597f700bcb70be4d:
- Executable file mttroot/mtt/bin/trans/sympar_txt2m — part of check-in [3d5410607c] at 2000-12-28 12:53:10 on branch origin/master — *** empty log message *** (user: gawthrop@users.sourceforge.net, size: 461) [annotate] [blame] [check-ins using] [more...]
#!/bin/sh ## Converts sympar.txt to an m file which provides indices in the form ## sympar.name = i ###################################### ##### Model Transformation Tools ##### ###################################### # Copyright (C) 2000 by Peter J. Gawthrop echo Creating $1_sympar.m lang_header -noglobals $1 sympar m "" sympar > $1_sympar.m awk '{ printf(" sympar.%s \t= %i; # %s\n", $1, ++i, $2); }' < $1_sympar.txt >> $1_sympar.m