Mercurial > repo
view bin/from-8bit @ 5856:93f6cb924cec
<shachaf> ` sed -i \'s/created/invented by Taneb/\' wisdom/universe
author | HackBot |
---|---|
date | Tue, 21 Jul 2015 21:22:00 +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"