Artifact c51bec0783c78e6b6a27ba87ebe75e6d6041a5bbc76e6f51ef817de0b6cdfeb7:


#!/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

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]