Mercurial > repo
view bin/from-8bit @ 9408:0220184f0bf9
<oerjan> ` cd bin; for f in doa dow hoa how; do mkx "${f}t//${f}g "\'"$@"\'" | tac"; done
author | HackBot |
---|---|
date | Sun, 23 Oct 2016 03:58:48 +0000 |
parents | 7f957c1f4661 |
children |
line wrap: on
line source
#!/bin/bash enc=$(echo "$1" | iconv -t iso8859-1 | chardet | awk '{print $2}') echo "$1" | iconv -t iso8859-1 | iconv -f "$enc"