diff options
author | root <root@rshg054.dnsready.net> | 2012-06-21 00:01:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-21 00:01:36 +0000 |
commit | 6d22541bcebb7236bedfb98a96d5a1292072e86c (patch) | |
tree | 1656959d3d65b061d69d74cef6b740dbc3476683 /testing/man-db/convert-mans | |
parent | 530e6e88786befa5d1bcd569e480f1b9fec5b102 (diff) |
Thu Jun 21 00:01:36 UTC 2012
Diffstat (limited to 'testing/man-db/convert-mans')
-rw-r--r-- | testing/man-db/convert-mans | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/man-db/convert-mans b/testing/man-db/convert-mans new file mode 100644 index 000000000..58a0224b0 --- /dev/null +++ b/testing/man-db/convert-mans @@ -0,0 +1,11 @@ +#!/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 |