diff options
author | Sven Gothel <[email protected]> | 2000-11-18 06:43:49 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2000-11-18 06:43:49 +0000 |
commit | 880653d31a8f1ff8384fdbc75b84934bceecfdb8 (patch) | |
tree | bdafb71416f176d2a4b73bf716c9dc3f13685a8b /CNativeCode/getProtos |
Initial revision
Diffstat (limited to 'CNativeCode/getProtos')
-rwxr-xr-x | CNativeCode/getProtos | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CNativeCode/getProtos b/CNativeCode/getProtos new file mode 100755 index 0000000..d133bea --- /dev/null +++ b/CNativeCode/getProtos @@ -0,0 +1,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 |