diff options
Diffstat (limited to 'application/libraries/contrib/process-geshi-css.pl')
-rw-r--r-- | application/libraries/contrib/process-geshi-css.pl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/application/libraries/contrib/process-geshi-css.pl b/application/libraries/contrib/process-geshi-css.pl deleted file mode 100644 index dbf76c294..000000000 --- a/application/libraries/contrib/process-geshi-css.pl +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/perl -use warnings; -use strict; - -open INPUT, "<", "geshi.css" or die $!; - -my $last=""; - -while (<INPUT>) { - my $line = $_; - my ($lang, $rest) = split / /; - $lang =~ s/\.//; - $lang =~ s/^_+//; - chomp $lang; - - next if ($lang eq ""); - - if ($lang ne $last) { - $last = $lang; - unlink "paste-$lang.css"; - print STDERR "processing $lang\n"; - } - open OUT, ">>", "paste-$lang.css"; - print OUT "$line"; - close OUT; -} |