#!/usr/bin/ruby #yeah! ruby baby, yeah! #Yet another port of Mr.Bad's DeCSS 0.06 #Strips CSS tags from documents #port retains original license from the perl version #sween@modelm.org, http://www.modelm.org if ARGV.length != 2 print "usage: ./decss.rb infile outfile\n" exit(-1) end infile = ARGV[0] outfile = ARGV[1] css = %r{\