Mercurial > repo
view bin/from-8bit @ 8259:e95716889267
<shachaf> sled bin/sled//s#\\|\\| exit 1#|| { echo \'no such file\'; exit 1; }#
author | HackBot |
---|---|
date | Wed, 01 Jun 2016 06:35:19 +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"