Introduction
Introduction Statistics Contact Development Disclaimer Help
Correct inverted scape codes for > and < in .txt files - swerc - anselm's simpl…
git clone git://git.suckless.org/swerc
Log
Files
Refs
README
---
commit f34995d7e3d97b9a7aa34cd383781010ac824041
parent f3178dc733941bbd4fc3f484db69b4f9603f441b
Author: [email protected] <unknown>
Date: Mon, 15 Sep 2008 07:23:00 +0200
Correct inverted scape codes for > and < in .txt files
Diffstat:
M bin/controller.rc | 2 +-
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.tx…
# XXX Words are not broken, even if they are way beyond 82 chars long
- cat $1 |sed 's/$/\n/g; s/</\&gt;/g; s/>/\&lt;/g' |fmt -l 82 -j
+ cat $1 |sed 's/$/\n/g; s/</\&lt;/g; s/>/\&gt;/g' |fmt -l 82 -j
echo '</pre>'
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.