@@ -0,0 +1,766 @@
+#!/bin/python%0Aimport os%0Aimport sys%0Aimport re%0Afrom optparse import OptionParser%0A%0Adef ReadFile(filename):%0A  f = open(filename, %22rb%22)%0A  data = f.read()%0A  f.close()%0A  return data%0A%0Adef main (argv):%0A  parser = OptionParser()%0A  parser.add_option(%0A      %22-v%22, %22--verbose%22, action=%22store_true%22,%0A      help=%22prints more output.%22)%0A  parser.add_option(%0A      %22-d%22, %22--debug%22, action=%22store_true%22,%0A      help=%22turns on debugging.%22)%0A%0A  (options, args) = parser.parse_args(args=argv)%0A%0A  data = ReadFile(args%5B0%5D)%0A  data = data.replace('class=%22webgl_', 'class=%22gman_')%0A  data = data.replace('href=%22', 'href=%22/downloads/examples/webgl/lessons/')%0A  data = data.replace('src=%22', 'src=%22/downloads/examples/webgl/lessons/')%0A%0A  print data%0A%0Aif __name__ == '__main__':%0A  main(sys.argv%5B1:%5D)%0A%0A

add prep