Correct inverted scape codes for > and < in .txt files
This commit is contained in:
parent
475edc4186
commit
2fed935c65
1 changed files with 1 additions and 1 deletions
|
|
@ -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>'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue