Ticket #13120: convert-mans

File convert-mans, 214 bytes (added by yenwenchieh@…, 17 years ago)

convert man pages to utf8 (utf8 variant)

Line 
1#!/bin/sh -e
2FROM="$1"
3TO="$2"
4shift ; shift
5while [ $# -gt 0 ]
6do
7        FILE="$1"
8        shift
9        iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
10        mv .tmp.iconv "$FILE"
11        echo "yen: $FILE"
12done