]> git.cworth.org Git - apitrace/blobdiff - specs/scripts/reference-opengl-arb.sh
Add hyperlinks for non-ARB extensions too.
[apitrace] / specs / scripts / reference-opengl-arb.sh
diff --git a/specs/scripts/reference-opengl-arb.sh b/specs/scripts/reference-opengl-arb.sh
deleted file mode 100755 (executable)
index 670ba17..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-# Script to extract reference URLs for functions documented in OpenGL ARB specs
-
-extract_urls () {
-    for URL
-    do
-            lynx -dump "$URL" | sed -n -e '/^References$/,$s/^ *[0-9]\+\. \+//p' | sed -e 's/ /%20/g'
-    done
-}
-
-extract_functions () {
-    sed -n -e '/^New Procedures and Functions$/,/^\w/ s/.* \(\w\+\)(.*$/\1/p' "$@" \
-    | sed -e '/^[A-Z]/s/^/gl/'
-}
-
-extract_urls http://www.opengl.org/registry/ \
-| grep '^http://www\.opengl\.org/registry/specs/ARB/.*\.txt$' \
-| sort -u \
-| while read URL
-do
-    wget --quiet -O - $URL \
-    | extract_functions \
-    | while read FUNCTION
-    do
-        echo "$FUNCTION  $URL"
-    done
-done
-    
-                
-