>>11で思いだしたけど、SJISの行とEUCの行が混ざってるファイルを
変換する、これより{簡単な|よい}方法あったら教えて。

cat mixed.txt | while read l; do echo $i | nkf -e; done