From 641c710d97bc647f3872138efa051bc956964297 Mon Sep 17 00:00:00 2001 From: crunk Date: Sun, 12 Apr 2020 16:53:44 +0200 Subject: [PATCH] the collection is some terminal one liners used to make ansi art --- collection | 2 ++ 1 file changed, 2 insertions(+) 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