root=http://www.opengl.org/sdk/docs/ createProperties() { toc=index.html doc=${1} #download index wget ${root}/${doc}/xhtml/${toc}; #find lines with links to gl* function doc grep -E .+\gl[A-Z][a-Z0-9]+\.+ ./${toc} > links; #add all links as properties to file and cleanup sed -r "s/.+