Mercurial > repo
view bin/from-8bit @ 4281:5f388cb353d9
<oerjan> (echo \'#!/bin/bash\'; echo \'echo "$@" | sed -e \'\\\'\'s/^\\([^aeiou]\\+\\)\\(.*\\)$/\\1\\2 shm\\2/\'\\\') >bin/shmify
author | HackBot |
---|---|
date | Thu, 09 Jan 2014 23:12:03 +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"