Search:
GitHub Login
Preferences
My Notifications
Tickets
Wiki
GitHub
Timeline
Roadmap
Ticket Reports
Search
Context Navigation
Back to Ticket #13120
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
2
FROM
=
"
$1
"
3
TO
=
"
$2
"
4
shift
;
shift
5
while
[
$#
-gt
0
]
6
do
7
FILE
=
"
$1
"
8
shift
9
iconv -f
"
$FROM
"
-t
"
$TO
"
"
$FILE
"
>.tmp.iconv
10
mv .tmp.iconv
"
$FILE
"
11
echo
"yen:
$FILE
"
12
done
Download in other formats:
Original Format