jobcore/man-db/convert-mans

12 lines
188 B
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/bin/sh -e
FROM="$1"
TO="$2"
shift ; shift
while [ $# -gt 0 ]
do
FILE="$1"
shift
iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
mv .tmp.iconv "$FILE"
done