Artifact 06b6d0d20c327b8f64dd6f4bc5937f4cbc322ae4c78b63d0ee31355a08508f5e:
- Executable file mttroot/mtt/bin/trans/sympar_txt2m — part of check-in [f3226ca0ae] at 2000-04-11 13:03:09 on branch origin/master — Initial revision (user: gawthrop@users.sourceforge.net, size: 460) [annotate] [blame] [check-ins using]
#!/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 -noglobal $1 sympar m "" sympar > $1_sympar.m awk '{ printf(" sympar.%s \t= %i; # %s\n", $1, ++i, $2); }' < $1_sympar.txt >> $1_sympar.m