crunk
5 years ago
1 changed files with 2 additions and 0 deletions
@ -1,4 +1,6 @@ |
|||||
//#!/bin/zsh |
//#!/bin/zsh |
||||
|
# convert IBM cp437 ansi files to linux utf-8 text file. |
||||
iconv -f cp437 -t utf-8 < input.ans > output.txt ; |
iconv -f cp437 -t utf-8 < input.ans > output.txt ; |
||||
|
# make single line ANSI art multiline 80 characters wide (for modern terminals) |
||||
sed -e "s/.\{80\}/&\n\r/" < input.txt > output.txt |
sed -e "s/.\{80\}/&\n\r/" < input.txt > output.txt |
||||
|
|
||||
|
Loading…
Reference in new issue