aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/getProtos
blob: d133bea6606534a9a83b9966b5334102e7a1dcde (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

rm a.h

for i in $(cat aaa.txt); do 
	echo looking for $i
	sed -n "/$i(/,/);/w a.tmp.h" /usr/local/src/mesa/include/GL/gl.h
	cat a.tmp.h >> a.h
done 

rm a.tmp.h