From 2fed935c656c3387b2d9e50fa4dc4f49bb28ee38 Mon Sep 17 00:00:00 2001 From: Uriel Date: Mon, 15 Sep 2008 07:23:00 +0200 Subject: [PATCH] Correct inverted scape codes for > and < in .txt files --- bin/controller.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/controller.rc b/bin/controller.rc index 91fa772..3440156 100755 --- a/bin/controller.rc +++ b/bin/controller.rc @@ -144,7 +144,7 @@ fn txt_handler { echo '
'
     # XXX Insering a blank line between lines in input is good for fortunes.txt, but maybe not for other .txt files
     # XXX Words are not broken, even if they are way beyond 82 chars long
-    cat $1 |sed 's/$/\n/g; s//\</g' |fmt -l 82 -j
+    cat $1 |sed 's/$/\n/g; s//\>/g' |fmt -l 82 -j
     echo '
' }