diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-03 03:26:25 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-03 03:26:25 (GMT) |
commit | 9e1bbb32ae25fef6111d95205614a612ed9f70ec (patch) | |
tree | ed42f7b1c991416b177e9fa6f6b852f48812b7ad /abs/core/man-db/convert-mans | |
parent | 4004c7c21e83a7f90db802b5f603fd510304e81e (diff) | |
download | linhes_pkgbuild-9e1bbb32ae25fef6111d95205614a612ed9f70ec.zip linhes_pkgbuild-9e1bbb32ae25fef6111d95205614a612ed9f70ec.tar.gz linhes_pkgbuild-9e1bbb32ae25fef6111d95205614a612ed9f70ec.tar.bz2 |
man-db: upgrade
Diffstat (limited to 'abs/core/man-db/convert-mans')
-rw-r--r-- | abs/core/man-db/convert-mans | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/man-db/convert-mans b/abs/core/man-db/convert-mans new file mode 100644 index 0000000..58a0224 --- /dev/null +++ b/abs/core/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 |