From a8537543a127d429cf6f644bf9c6f792f8f89139 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Aug 2002 08:42:43 +0000 Subject: use this script to convert a plain ASCII text into something that looks fine in HTML git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1776 a1c6a512-1295-4272-9138-f99709370657 --- www/txt2plain.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 www/txt2plain.pl diff --git a/www/txt2plain.pl b/www/txt2plain.pl new file mode 100755 index 0000000000..eb630acad0 --- /dev/null +++ b/www/txt2plain.pl @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +while() { + + $_ =~ s/\/>/g; + + $_ =~ s/^$/\ /g; + + print $_; +} -- cgit v1.2.3