Artifact 9439894fee17ffd1968c3139debdc1526a86dd0106c89b9df0ef4b3bc3c24e98:
- Executable file mtt/bin/trans/icd_txt2m.sh — 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: 428) [annotate] [blame] [check-ins using] [more...]
- Executable file
mttroot/mtt/bin/trans/icd_txt2m.sh
— part of check-in
[66bb5feadf]
at
2002-04-28 18:41:27
on branch origin/master
— Fixed [ 549658 ] awk should be gawk.
Replaced calls to awk with call to gawk. (user: geraint@users.sourceforge.net, size: 428) [annotate] [blame] [check-ins using]
#! /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 gawk '{ if (NF==2) {i++; print "icd."$1 "\t = \""$2"\";"} } END{ if (i==0) print "icd = 0;" }' $1_icd.txt >> $1_icd.m