diff --git a/collection b/collection index aa634cc..bd0b7bc 100755 --- a/collection +++ b/collection @@ -1,4 +1,6 @@ //#!/bin/zsh +# convert IBM cp437 ansi files to linux utf-8 text file. 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