summaryrefslogtreecommitdiffstats
path: root/tapset/test/gencfiles.sh
blob: 4ef4f57139c583dd505fcf4e6e7415d7509ba83b (plain)
1
2
3
4
5
6
7
8
9
10
11
mkdir cfiles
cp build.sh cfiles
while read line
do
   if [ `echo $line | grep "~~~~~~~~~~~~~~" | wc -l` -gt 0 ]
   then
      file=`echo $line |cut -d" " -f1`
   else
      echo "$line" >> cfiles/$file
   fi  
done < master.c