SQLITE_NOTICE(283): recovered 5 frames from WAL file /data/mtt.fossil-wal
Artifact db11af1c84d410b87eb0e13e1ef1c1e0fc7740c00ce1b9480aaa0b4a7c92f99e:
- Executable file mttroot/mtt/bin/trans/sympar_txt2h — part of check-in [5eca2f682d] at 1997-03-20 14:52:41 on branch origin/master — Initial revision (user: gawthrop@users.sourceforge.net, size: 974) [annotate] [blame] [check-ins using]
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: sympar_txt2h
# Label file to symbolic parameters conversion
# P.J.Gawthrop March 1997
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
###############################################################
# Inform user
echo "Creating $1_sympar.h"
rm -f mtt_error
#Write some file headers
echo '/*' > $1_sympar.h
echo "Symbolic parameter file ($1_sympar.h)" >> $1_sympar.h
echo "Generated by MTT at `date`" >> $1_sympar.h
echo '*/' >> $1_sympar.h
echo >> $1_sympar.h
#Write out the variables in c format.
awk '{i++; print "double", $1 ";"}' $1_sympar.txt >> $1_sympar.h
# Now invoke the standard error handling.
# mtt_error mtt_error.txt