From 92c84158677f30edb8872754d92832a35420952d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 14 Aug 2013 16:56:14 +0200 Subject: Use python-ansi2html instead of cpan module Way, way, way, way faster. Did I mention it is faster? Also we now have line numbers because we can. Signed-off-by: Florian Pritz --- scripts/ansi2html | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 scripts/ansi2html (limited to 'scripts') diff --git a/scripts/ansi2html b/scripts/ansi2html deleted file mode 100755 index e33e24630..000000000 --- a/scripts/ansi2html +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/perl -use strict; -use HTML::FromANSI (); - -my $h = HTML::FromANSI->new( - fill_cols => 0, - font_face => "", - style => "", - tt => 0 -); - -open IN, "<", $ARGV[0] or die "cannot read $ARGV[0]: $!"; - -$h->add_text(); -my $html = $h->html; -$html =~ s/background: black; //g; -$html =~ s/color: white; /color: black /g; -$html =~ s/
/\n/g; - -print $html; -- cgit v1.2.3-24-g4f1b