Browse Source

the collection is some terminal one liners used to make ansi art

master
crunk 9 months ago
parent
commit
641c710d97
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      collection

+ 2
- 0
collection View File

@ -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

Loading…
Cancel
Save