Browse Source

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

main
crunk 5 years ago
parent
commit
641c710d97
  1. 2
      collection

2
collection

@ -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…
Cancel
Save