commit f34995d7e3d97b9a7aa34cd383781010ac824041
parent f3178dc733941bbd4fc3f484db69b4f9603f441b
Author: uriel@suckless.org <unknown>
Date: Mon, 15 Sep 2008 07:23:00 +0200
Correct inverted scape codes for > and < in .txt files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/controller.rc b/bin/controller.rc
@@ -144,7 +144,7 @@ fn txt_handler {
echo '<pre>'
# 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; s/>/\</g' |fmt -l 82 -j
+ cat $1 |sed 's/$/\n/g; s/</\</g; s/>/\>/g' |fmt -l 82 -j
echo '</pre>'
}