Bug#340911: catch iconv -t ... -t ...
Package: libc6
Version: 2.3.5-7
Severity: minor
File: /usr/bin/iconv
I noticed that
iconv -f utf-8 -t gb2312 -t big5
does not cause an error.
If it is a short cut for
iconv -f utf-8 -t gb2312 | iconv -f gb2312 -t big5
then document it, else catch multiple -t and -f's.
Maybe even catch
iconv -f utf-8 -t utf-8
P.S., on the man page,
SYNOPSIS
iconv -f encoding -t encoding inputfile
should be
iconv -f encoding -t encoding [inputfile ...]
or iconv -f encoding -t encoding [inputfiles ...]
Reply to: