#add functions
for file in `find . -type f -name \*.c ! -name main.c`; do
printf "\t//file $file :\n" >> main.c
- functions=`grep '^ *void t_' $file | sed 's/^ *\(void [^(]*\).*/\t\1();/g'`
+ functions=`grep '^ *void t_' $file | sed 's/^ *void \([^(]*\).*/\t\1();/g'`
printf "$functions" >> main.c
printf '\n\n' >> main.c
done