shellutils

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