Commit bebbe035 authored by Glen Mével's avatar Glen Mével
Browse files

drop-in replacement for `recode`

parent 43b1a451
#!/usr/bin/sh
echo >&2 'Do not use `recode`. It has broken with version 3.7.'
echo >&2 'Use `iconv` (standard glibc program) and `dump-utf8` (personal script).'
echo >&2 'Examples:'
echo >&2 ' $ recode ..dump becomes $ dump-utf8'
echo >&2 ' $ recode ..latin1 becomes $ iconv -t latin1'
echo >&2 ' $ recode latin1.. becomes $ iconv -f latin1'
echo >&2 ' $ recode latin1..utf8 becomes $ iconv -f latin1 -t utf8'
echo >&2 ' $ recode latin1..dump becomes $ iconv -f latin1 | dump-utf8'
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment