shellutils

diff glext_url @ 0:80fc0c4b11c0

collection of shell scripts
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Apr 2015 13:09:47 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/glext_url	Thu Apr 23 13:09:47 2015 +0300
     1.3 @@ -0,0 +1,6 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +prefix=`echo $1 | sed 's/^GL_//' | sed 's/_.*$//'`
     1.7 +name=`echo $1 | sed 's/^.*[A-Z]\+_//'`
     1.8 +
     1.9 +echo "http://www.opengl.org/registry/specs/$prefix/$name.txt"