Artifact cb0a719b07603ac2942db9651da3b0d25f03c25ba67b4cd05151fc11a57e5007:
- Executable file mttroot/mtt/bin/trans/icd_txt2m.sh — part of check-in [16076f51bd] at 2001-04-15 21:15:41 on branch origin/master — Added interface definition rep: _ICD.(txt|c|cc|m). (user: geraint@users.sourceforge.net, size: 427) [annotate] [blame] [check-ins using] [more...]
#! /bin/sh # Inform user echo Creating $1_icd.m #Create the component ICD file complete with headers. echo "function icd = $1_icd" > $1_icd.m echo "%% Component icd file ($1_icd.m)" >> $1_icd.m echo "%% Generated by MTT at `date`" >> $1_icd.m #Write out the variables awk '{ if (NF==2) {i++; print "icd."$1 "\t = \""$2"\";"} } END{ if (i==0) print "icd = 0;" }' $1_icd.txt >> $1_icd.m