Mercurial > repo
view bin/from-8bit @ 4422:0dd2430deb55
<kmc> printf \'echo "$1" | /hackenv/lib/c++decl\\n\' > bin/c++decl && chmod +x bin/c++decl
author | HackBot |
---|---|
date | Sun, 09 Feb 2014 02:02:26 +0000 |
parents | 4ac5187eb119 |
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"