4 sed 's/^T(//;s/,//;s/)//' functions.h |
while read N T
9 cp template
/$T.c
$D/$N.c ||
continue
10 ND
=`echo $N |sed 's/l$//'`
13 for i
in crlibm
/$N.h ucb
/$N.h sanity
/$N.h
15 [ -e $D/$i ] && H
="$H#include \"$i\"\\n"
18 for i
in crlibm
/$ND.h ucb
/$ND.h sanity
/$ND.h
20 [ -e $D/$i ] && DH
="$DH#include \"$i\"\\n"
23 sed -i "s/___/$N/g;s,DHEADERS,$DH,;s,HEADERS,$H," $D/$N.c