(Mirror of http://tikiwiki.org/tiki-index.php?page=RecipeRestoreCss - Should probably be relocated to this site.)
#!/usr/bin/perl # From the Perl FAQ # written by Jeffrey Friedl and later modified by Fred Curtis $/ = undef; $_ = <>; s#/\*[^*]*\*+([^/*][^*]*\*+)*/|("(\\.|[^"\\])*"|'(\\.|[^'\\])*'|.[^/"'\\]*)#\$2#gs; print;
#!/usr/bin/perl $/ = undef; $_ = <>; s#{([^{}]*)}##gs; print;
#!/bin/bash ./stripbraces.pl \$1 \ | ./stripcomments.pl \ | sed -e "s/,[ ]*/\n/g;" \ | sed -e "s/^[ ]*//g;" \ | sed -e "s/[ ]*$//g;" \ | egrep -v "^[ ]*$" \ | sort \ | uniq
''tw.o credits: Contributors to this page: mdavey .
Page last modified on Monday 28 March, 2005 [20:41:14 UTC] by mdavey.