shellutils

annotate 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
rev   line source
nuclear@0 1 #!/bin/sh
nuclear@0 2
nuclear@0 3 prefix=`echo $1 | sed 's/^GL_//' | sed 's/_.*$//'`
nuclear@0 4 name=`echo $1 | sed 's/^.*[A-Z]\+_//'`
nuclear@0 5
nuclear@0 6 echo "http://www.opengl.org/registry/specs/$prefix/$name.txt"