Artifact c51bec0783c78e6b6a27ba87ebe75e6d6041a5bbc76e6f51ef817de0b6cdfeb7:
- Executable file mtt/bin/trans/sympar_txt2m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 462) [annotate] [blame] [check-ins using] [more...]
- Executable file
mttroot/mtt/bin/trans/sympar_txt2m
— part of check-in
[636df344ed]
at
2002-04-28 18:58:07
on branch origin/master
— Fixed [ 549658 ] awk should be gawk.
Replaced calls to awk with call to gawk. (user: geraint@users.sourceforge.net, size: 462) [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 -noglobals $1 sympar m "" sympar > $1_sympar.m gawk '{ printf(" sympar.%s \t= %i; # %s\n", $1, ++i, $2); }' < $1_sympar.txt >> $1_sympar.m