import nkf-2.1.4-8.el8

This commit is contained in:
CentOS Sources 2019-07-30 17:54:21 -04:00 committed by Stepan Oksanichenko
commit 12357ab61c
6 changed files with 1119 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/nkf-2.1.4.tar.gz

1
.nkf.metadata Normal file
View File

@ -0,0 +1 @@
9e981cde5c6a72961af706fd70821fe547039bd3 SOURCES/nkf-2.1.4.tar.gz

92
SOURCES/nkf-fix-man.patch Normal file
View File

@ -0,0 +1,92 @@
diff -pruN nkf-2.1.4.orig/NKF.mod/NKF.pm nkf-2.1.4/NKF.mod/NKF.pm
--- nkf-2.1.4.orig/NKF.mod/NKF.pm 2015-12-12 22:51:41.000000000 +0900
+++ nkf-2.1.4/NKF.mod/NKF.pm 2018-01-29 19:23:15.836460319 +0900
@@ -53,38 +53,30 @@ __END__
=head1 NAME
-=begin
+=begin man
NKF - Perl extension for Network Kanji Filter
-=begin COMMAND
-
-nkf - Network Kanji Filter
-
-=end
+=end man
=head1 SYNOPSIS
-=begin
+=begin man
use NKF;
$output = nkf("-s",$input);
-=begin COMMAND
-
-nkf B<[-butjnesliohrTVvwWJESZxXFfmMBOcdILg]> B<[>I<file ...>B<]>
-
-=end
+=end man
=head1 DESCRIPTION
-=begin
+=begin man
This is a Perl Extension version of nkf (Network Kanji Filter).
It converts the last argument and return converted result. Conversion
details are specified by flags before the last argument.
-=end
+=end man
B<Nkf> is a yet another kanji code converter among networks, hosts and terminals.
It converts input kanji code to designated kanji code
@@ -473,28 +465,6 @@ Unescape percent escaped characters.
Decode character reference, such as "&#....;".
-=begin COMMAND
-
-=item B<--in-place[=>I<SUFFIX>B<]> B<--overwrite[=>I<SUFFIX>B<]>
-
-Overwrite B<original> listed files by filtered result.
-
-B<Note> --overwrite preserves timestamps of original files.
-
-=item B<--guess=[12]>
-
-Print guessed encoding and newline. (2 is default, 1 is only encoding)
-
-=item B<--help>
-
-Print nkf's help.
-
-=item B<--version>
-
-Print nkf's version.
-
-=end
-
=item B<-->
Ignore rest of -option.
@@ -507,12 +477,12 @@ Copyright (c) 1987, Fujitsu LTD. (Itaru
Copyright (c) 1996-2015, The nkf Project.
-=begin
+=begin man
=head1 SEE ALSO
perl(1). nkf(1)
-=end
+=end man
=cut

682
SOURCES/nkf.1j Normal file
View File

@ -0,0 +1,682 @@
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\" ========================================================================
.\"
.IX Title "nkf 1"
.TH nkf 1 "2013-11-22" "nkf 2.1.3" " "
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
nkf \- $B%M%C%H%o!<%/MQ4A;z%3!<%IJQ49%U%#%k%?(B
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
nkf \fB[\-butjnesliohrTVvwWJESZxXFfmMBOcdILg]\fR \fB[\fR\fIfile ...\fR\fB]\fR
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBnkf\fR $B$O%M%C%H%o!<%/$G%a!<%k$d%K%e!<%9$NFI$_=q$-$r$9$k$?$a$K:n$i$l$?!"4A;z%3!<%I$NJQ49%U%#%k%?$G$"$k!#(B
.PP
$B$3$N(B\fBnkf\fR$B$NFCD'$H$7$F$O!"F~NO4A;z%3!<%I7O$NE}7WE*$J<+F0G'<15!G=$,$"$k!#(B
$B$3$N$?$a!"MxMQ<T$O!"F~NO4A;z%3!<%I7O$,2?$G$"$k$+$rCN$i$J$/$F$b!"=PNO4A;z%3!<%I7O$N$_;XDj$9$l$PNI$$$3$H$K$J$k!#(B
$B$?$@!"$3$NH=Dj5!9=$O!"M}O@E*$K$O40A4$G$O$J$$$,!"DL>o$N%K%e!<%9$d%a!<%k$N%a%C%;!<%8$K$D$$$F$O3N<B$KF0:n$9$k0BA4$J$b$N$K$O$J$C$F$$$k!#(B
.PP
$B8=:_!"(B\fBnkf\fR$B$,G'<1$G$-$kF~NO$N4A;z%3!<%I7O$O!"$$$o$f$k(B \s-1JIS\s0 $B%3!<%I(B (\s-1ISO\-2022\-JP\s0 $B$K4p$E$/$b$N(B)$B!"(BShift_JIS (\s-1MS\s0 $B4A;z%3!<%I(B)$B!"(B
$BF|K\8l(B \s-1EUC\s0 (\s-1AT&T\s0 $B%3!<%I(B)$B!"(BUTF\-8$B!"(BUTF\-16 $B$N$$$:$l$+$G$"$k!#(B
$B=PNO$9$k4A;z%3!<%I7O$b!"$3$l$i$G$"$k!#(B
$BF~NO$O!"%U%!%$%k$r;XDj$7$J$1$l$P!"I8=`F~NO$H$J$k!#(B
$B=PNO$OI8=`=PNO$G$"$k!#(B
.SH "OPTIONS"
.IX Header "OPTIONS"
$B;XDj$G$-$k%*%W%7%g%s$O!"0J2<$NDL$j!#(B
\&\fB\-mu\fR $B$N$h$&$KB3$1$k$3$H$,$G$-$k!#(B
.IP "\fB\-j\fR" 4
.IX Item "-j"
\&\s-1JIS\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-e\fR" 4
.IX Item "-e"
\&\s-1EUC\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-s\fR" 4
.IX Item "-s"
Shift_JIS $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-w \-w8[0] \-w16[\s-1BL\s0][0]\fR" 4
.IX Item "-w -w8[0] -w16[BL][0]"
Unicode $B$r=PNO$9$k!#(B
.RS 4
.IP "\fB\-w \-w80\fR" 4
.IX Item "-w -w80"
\&\s-1UTF8\s0 $B%3!<%I$r=PNO$9$k!#(B (\s-1BOM\s0 $BL5$7(B)
.IP "\fB\-w8\fR" 4
.IX Item "-w8"
\&\s-1UTF8\s0 $B%3!<%I$r=PNO$9$k!#(B
.IP "\fB\-w16 \-w16B0\fR" 4
.IX Item "-w16 -w16B0"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Big Endian / \s-1BOM\s0 $BL5$7(B)
.IP "\fB\-w16B\fR" 4
.IX Item "-w16B"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Big Endian / \s-1BOM\s0 $BM-$j(B)
.IP "\fB\-w16L\fR" 4
.IX Item "-w16L"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Little Endian / \s-1BOM\s0 $BM-$j(B)
.IP "\fB\-w16L0\fR" 4
.IX Item "-w16L0"
\&\s-1UTF16\s0 $B%3!<%I$r=PNO$9$k!#(B (Little Endian / \s-1BOM\s0 $BL5$7(B)
.RE
.RS 4
.RE
.IP "\fB\-m[\s-1BQSN0\s0]\fR" 4
.IX Item "-m[BQSN0]"
\&\s-1MIME\s0 $B$r2rFI$9$k!#(B($B%G%U%)%k%H(B)
\&\s-1ISO\-2022\-JP\s0 (B encode) $B$H(B \s-1ISO\-8859\-1\s0 (Q encode) $B$N$_$r2rFI$9$k!#(B
\&\s-1ISO\-8859\-1\s0 (Latin\-1) $B$r2rFI$9$k;~$O!"(B\fB\-l\fR $B%U%i%0$bI,MW$G$"$k!#(B
\&\fB\-m0\fR $B$G$O(B \s-1MIME\s0 $B$r2rFI$7$J$$!#(B
\&\fB\-mB\fR, \fB\-mQ\fR $B$G$O!"(BBASE64, Q encode $B$5$l$F$$$k$b$N$H$7$F=hM}$9$k!#(B
.RS 4
.IP "\fB\-mB\fR" 4
.IX Item "-mB"
\&\s-1MIME\s0 base64 stream $B$r2rFI$9$k!#(B
$B%X%C%@$J$I$O<h$j=|$/$3$H!#(B
.IP "\fB\-mQ\fR" 4
.IX Item "-mQ"
\&\s-1MIME\s0 quoted stream $B$r2rFI$9$k!#(B
.IP "\fB\-mS\fR" 4
.IX Item "-mS"
\&\s-1MIME\s0 $B$N%A%'%C%/$r87$7$/$9$k(B ($B%G%U%)%k%H(B)
.IP "\fB\-mN\fR" 4
.IX Item "-mN"
\&\s-1MIME\s0 $B$N%A%'%C%/$r4K$/$9$k(B
.IP "\fB\-m0\fR" 4
.IX Item "-m0"
\&\s-1MIME\s0 $B$r2rFI$7$J$$!#(B
.RE
.RS 4
.Sp
\&\fB\-mS\fR $B$O!"@k8@$NFbMF$H!"$=$N8e$KB3$/(B encoded-text $B$N@09g@-$r%A%'%C%/$9$k!#(B
\&\fB\-mN\fR $B$O!"2~9T$G@Z$i$l$?(B \s-1MIME\s0 $B$J$I$b2rFI$9$k!#2rFI$,;_$^$i$J$$$3$H$b$"$k!#(B
.RE
.IP "\fB\-M[\s-1BQ\s0]\fR" 4
.IX Item "-M[BQ]"
\&\s-1MIME\s0 $B$KJQ49$9$k!#(B
.RS 4
.IP "\fB\-M\fR" 4
.IX Item "-M"
$B%X%C%@7A<0$KJQ49$9$k(B
.IP "\fB\-MB\fR" 4
.IX Item "-MB"
base64 stream $B$KJQ49$9$k(B
.IP "\fB\-MQ\fR" 4
.IX Item "-MQ"
Quoted stream $B$KJQ49$9$k(B
.RE
.RS 4
.RE
.IP "\fB\-J \-E \-S \-W\fR" 4
.IX Item "-J -E -S -W"
$B4|BT$5$l$kF~NO%3!<%I$N@-<A$r;XDj$9$k!#(B
.RS 4
.IP "\fB\-J\fR" 4
.IX Item "-J"
\&\s-1ISO\-2022\-JP\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-E\fR" 4
.IX Item "-E"
$BF|K\8l(B \s-1EUC\s0 (\s-1AT&T\s0) $B$r2>Dj$9$k!#(B
.IP "\fB\-S\fR" 4
.IX Item "-S"
Shift_JIS $B$r2>Dj$9$k!#(B
$B$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B) $B$b<u$1F~$l$k!#(B
.IP "\fB\-W\fR" 4
.IX Item "-W"
\&\s-1UTF\-8\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-W8\fR" 4
.IX Item "-W8"
\&\s-1UTF\-8\s0 $B$r2>Dj$9$k!#(B
.IP "\fB\-W16\fR" 4
.IX Item "-W16"
\&\s-1UTF\-16\s0 (Little Endian)$B$r2>Dj$9$k!#(B
.IP "\fB\-W16B\fR" 4
.IX Item "-W16B"
\&\s-1UTF\-16\s0 (Big Endian)$B$r2>Dj$9$k!#(B
.IP "\fB\-W16L\fR" 4
.IX Item "-W16L"
\&\s-1UTF\-16\s0 (Little Endian)$B$r2>Dj$9$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-x\fR" 4
.IX Item "-x"
$BDL>o$*$3$J$o$l$k!"$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B)
$B$+$i$$$o$f$kA43Q%+%J(B (\s-1JIS\s0 X 0208 $BJR2>L>(B) $B$X$NJQ49$r9T$o$:!"H>3Q%+%J$rJ]B8$9$k!#(B
$BF~NO$O!"(BShift_JIS $B$N(B 1byte $B%+%J!"(BSO/SI$B!"(BESC\-(\-I, \s-1SSO\s0 $B$r<u$1IU$1$k!#(B
$B=PNO$O!"F|K\8l(B \s-1EUC\s0 $BCf$G$O(B SSO$B!"(BJIS $B%3!<%ICf$G$O(B \s-1ESC\-\s0(\-I $B$r%G%U%)%k%H$GMQ$$$k!#(B
.IP "\fB\-X\fR" 4
.IX Item "-X"
$B$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B) $B$r(B $B$$$o$f$kA43Q%+%J(B (\s-1JIS\s0 X 0208 $BJR2>L>(B) $B$X$HJQ49$9$k!#(B
.IP "\fB\-B\fR" 4
.IX Item "-B"
$B2u$l$?(B (Broken) \s-1JIS\s0 $B%3!<%I!#(B
\&\s-1ESC\s0 $B$,$J$/$J$C$?$H2>Dj$9$k!#(B
.RS 4
.IP "\fB\-B1\fR" 4
.IX Item "-B1"
\&\fB\s-1ESC\-\s0(\fR, \fB\s-1ESC\-$\s0\fR $B$N$"$H$N%3!<%I$rLd$o$J$$(B
.IP "\fB\-B2\fR" 4
.IX Item "-B2"
$B2~9T$N$"$H$K6/@)E*$K(B \s-1ASCII\s0 $B$KLa$9(B
.RE
.RS 4
.RE
.IP "\fB\-f\fR[\fIm\fR[\-\fIn\fR]]" 4
.IX Item "-f[m[-n]]"
$B0l9T(B \fIm\fR $BJ8;z$K$J$k$h$&$K!"%^!<%8%s$r(B \fIn\fR $B$H$7$F4JC1$J@07A$r$*$3$J$&!#(B
$B%G%U%)%k%H$OJ8;z?t$O(B 60$B!"%^!<%8%s$O(B 10 $B$G$"$k!#(B
.IP "\fB\-Z[0\-3]\fR" 4
.IX Item "-Z[0-3]"
\&\s-1JIS\s0 X 0208 $B1Q?t;z$H<c43$N5-9f$r(B \s-1ASCII\s0 $B$KJQ49$9$k!#(B
$B$D$^$j!"A43Q$rH>3Q$KJQ49$9$k!#(B
.RS 4
.IP "\fB\-Z \-Z0\fR" 4
.IX Item "-Z -Z0"
Convert X0208 alphabet to \s-1ASCII\s0.
.IP "\fB\-Z1\fR" 4
.IX Item "-Z1"
\&\s-1JIS\s0 X 0208 $BOB;z4V3V$r(B \s-1ASCII\s0 space $B0l$D$KJQ49$9$k!#(B
.IP "\fB\-Z2\fR" 4
.IX Item "-Z2"
\&\s-1JIS\s0 X 0208 $BOB;z4V3V$r(B \s-1ASCII\s0 space $BFs$D$KJQ49$9$k!#(B
.IP "\fB\-Z3\fR" 4
.IX Item "-Z3"
$B!d!"!c!"!I!"!u!"$r(B &gt;$B!"(B&lt;$B!"(B&quot;$B!"(B&amp; $B$KJQ49$9$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-b\fR" 4
.IX Item "-b"
$B%P%C%U%!%j%s%0=PNO$r9T$&!#(B($B%G%U%)%k%H(B)
.IP "\fB\-u\fR" 4
.IX Item "-u"
$B=PNO;~$K!"%P%C%U%!%j%s%0$7$J$$!#(B
ssh localhost | nkf \-u $B$H$$$&$h$&$K;H$&!#(B
.IP "\fB\-t\fR" 4
.IX Item "-t"
$B2?$b$7$J$$!#(B
.IP "\fB\-I\fR" 4
.IX Item "-I"
\&\s-1ISO\-2022\-JP\s0 $B0J30$N4A;z%3!<%I$r".$KJQ49!#(B
.IP "\fB\-i[@B]\fR" 4
.IX Item "-i[@B]"
\&\s-1JIS\s0 $B4A;z$r;X<($9$k%7!<%1%s%9$r;XDj$9$k!#(B
.RS 4
.IP "\fB\-i@\fR" 4
.IX Item "-i@"
\&\s-1JIS\s0 X 0208\-1978 $B$rMQ$$$k!#(B
.IP "\fB\-iB\fR" 4
.IX Item "-iB"
\&\s-1JIS\s0 X 0208\-1983/1990 $B$rMQ$$$k!#(B
.RE
.RS 4
.RE
.IP "\fB\-o[\s-1BJH\s0]\fR" 4
.IX Item "-o[BJH]"
1 $B%P%$%H1Q?tJ8;z%;%C%H$r;X<($9$k%7!<%1%s%9$r;XDj$9$k!#(B
.RS 4
.IP "\fB\-oB\fR" 4
.IX Item "-oB"
1 $B%P%$%H1Q?tJ8;z%;%C%H$H$7$F(B US-ASCII $B$rMQ$$$k!#(B
.IP "\fB\-oJ\fR" 4
.IX Item "-oJ"
1 $B%P%$%H1Q?tJ8;z%;%C%H$H$7$F(B \s-1JIS\s0 X 0201 Roman $B$rMQ$$$k!#(B
.IP "\fB\-oH\fR" 4
.IX Item "-oH"
\&\s-1ESC\s0 ( H $B$O=i4|$N(B \s-1JUNET\s0 $B%3!<%I$G$N$_MQ$$$i$l$?$b$N$G!"8=:_$O;H$C$F$O$J$i$J$$!#(B
.RE
.RS 4
.RE
.IP "\fB\-r\fR" 4
.IX Item "-r"
\&\s-1ROT13/47\s0 $B$NJQ49$r$9$k!#(B
.IP "\fB\-g\fR" 4
.IX Item "-g"
$B<+F0H=JL$N7k2L$r=PNO$7$^$9!#(B
.IP "\fB\-T\fR" 4
.IX Item "-T"
$B%F%-%9%H%b!<%I$G=PNO$9$k!#(B(\s-1MS\-DOS\s0 $B>e$G$N$_8zNO$r;}$D(B)
.IP "\fB\-l\fR" 4
.IX Item "-l"
0x80\-0xfe $B$N%3!<%I$r(B \s-1ISO\-8859\-1\s0 (Latin\-1) $B$H$7$F07$&!#(B
\&\s-1JIS\s0 $B%3!<%I%"%&%H%W%C%H$H$NAH9g$;$_$N$_M-8z!#(B
\&\fB\-s, \-e, \-x\fR $B$H$ON>N)$7$J$$!#(B
.IP "\fB\-O\fR" 4
.IX Item "-O"
$B%U%!%$%k$K=PNO$9$k!#(B
\&\s-1UNIX\s0 $B$G$OITMW$J5!G=$@$,(B Windows $B$d(B \s-1MSDOS\s0 $B$G$OI,MW$i$7$$!#(B
$BD>8e$N0z$-?t$G$J$/!":G8e$N%U%!%$%kL>$,=PNO%U%!%$%kL>$H$J$j>e=q$-$5$l$F$7$^$&$N$GCm0U!#(B
$B%U%!%$%kL>$,$J$$>l9g$O(B nkf.out$B!#(B
.IP "\fB\-L[uwm] \-d \-c\fR" 4
.IX Item "-L[uwm] -d -c"
$B2~9T%3!<%I$rJQ49$9$k!#(B
.RS 4
.IP "\fB\-Lu \-d\fR" 4
.IX Item "-Lu -d"
unix (\s-1LF\s0)
.IP "\fB\-Lw \-c\fR" 4
.IX Item "-Lw -c"
windows (\s-1CRLF\s0)
.IP "\fB\-Lm\fR" 4
.IX Item "-Lm"
mac (\s-1CR\s0)
.RE
.RS 4
.Sp
$B%G%U%)%k%H$G$OJQ49$7$J$$!#(B
.RE
.IP "\fB\-\-ic=<input_codeset\fR \-\-oc=<output_codeset>>" 4
.IX Item "--ic=<input_codeset --oc=<output_codeset>>"
$BF~NO!&=PNO$N4A;z%3!<%I7O$r;XDj$7$^$9!#(B
.RS 4
.IP "\fB\s-1ISO\-2022\-JP\s0\fR" 4
.IX Item "ISO-2022-JP"
$B$$$o$f$k(B \s-1JIS\s0 $B%3!<%I!#(B\fB\-j, \-J\fR $B$HF1$8!#(B
.IP "\fB\s-1ISO\-2022\-JP\-1\s0\fR" 4
.IX Item "ISO-2022-JP-1"
\&\s-1RFC\s0 2237 $B$KDj$a$i$l$?7A<0!#(B \s-1JIS\s0 X 0212 $B$r4^$`!#(B
.IP "\fB\s-1ISO\-2022\-JP\-3\s0\fR" 4
.IX Item "ISO-2022-JP-3"
\&\s-1RFC\s0 2237 $B$KDj$a$i$l$?7A<0!#(B \s-1JIS\s0 X 0213 $B$r4^$`!#(B
.IP "\fBEUC-JP\fR" 4
.IX Item "EUC-JP"
\&\s-1EUC\s0 $B%3!<%I!#(B\fB\-e, \-E\fR $B$HF1$8!#(B
.IP "\fB\s-1EUC\-JISX0213\s0\fR" 4
.IX Item "EUC-JISX0213"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2000 $B$rMQ$$$?(B EUC\-JP$B!#(B
.IP "\fB\s-1EUC\-JIS\-2004\s0\fR" 4
.IX Item "EUC-JIS-2004"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2004 $B$rMQ$$$?(B EUC\-JP$B!#(B
.IP "\fBeucJP-ascii\fR" 4
.IX Item "eucJP-ascii"
$B%*!<%W%s%0%k!<%WF|K\%Y%s%@6(5D2q$,Dj5A$7$?(B eucJP\-ascii$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fBeucJP-ms\fR" 4
.IX Item "eucJP-ms"
$B%*!<%W%s%0%k!<%WF|K\%Y%s%@6(5D2q$,Dj5A$7$?(B euc\-JPms$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fB\s-1CP51932\s0\fR" 4
.IX Item "CP51932"
Micorosft Code Page 51932$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fBShift_JIS\fR" 4
.IX Item "Shift_JIS"
Shift_JIS$B!#(B
\&\fB\-s, \-S\fR $B$HF1$8!#(B
.IP "\fBShift_JISX0213\fR" 4
.IX Item "Shift_JISX0213"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2000 $B$rMQ$$$?(B Shift_JIS$B!#(B
.IP "\fBShift_JIS\-2004\fR" 4
.IX Item "Shift_JIS-2004"
$BJ8;z=89g$K(B \s-1JIS\s0 X 0213:2004 $B$rMQ$$$?(B Shift_JIS$B!#(B
.IP "\fB\s-1CP932\s0\fR" 4
.IX Item "CP932"
Micorosft Code Page 932$B!#(B
\&\fB\-x\fR $B$,0EL[$N$&$A$K;XDj$5$l$k!#(B
.IP "\fB\s-1UTF\-8\s0 \s-1UTF\-8N\s0\fR" 4
.IX Item "UTF-8 UTF-8N"
\&\s-1BOM\s0 $BL5$7$N(B UTF\-8$B!#(B
\&\fB\-w, \-W\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-8\-BOM\s0\fR" 4
.IX Item "UTF-8-BOM"
\&\s-1BOM\s0 $BIU$-$N(B UTF\-8$B!#(B\fB\-w8\fR $B$^$?$O(B \fB\-W\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF8\-MAC\s0\fR" 4
.IX Item "UTF8-MAC"
UTF8\-MAC$B!#8_49J,2r$5$l$?$R$i$,$J!&%+%?%+%JEy$r7k9g$7$^$9!#(B
$BF~NO$N$_$NBP1~$G$9!#(B
.IP "\fB\s-1UTF\-16\s0 \s-1UTF\-16BE\-BOM\s0\fR" 4
.IX Item "UTF-16 UTF-16BE-BOM"
\&\s-1BOM\s0 $BM-$j$G(B Big Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16B, \-W16B\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16BE\s0\fR" 4
.IX Item "UTF-16BE"
\&\s-1BOM\s0 $BL5$7$G(B Big Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16B0. \-W16B\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16LE\-BOM\s0\fR" 4
.IX Item "UTF-16LE-BOM"
\&\s-1BOM\s0 $BM-$j$G(B Little Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16L, \-W16L\fR $B$HF1$8!#(B
.IP "\fB\s-1UTF\-16LE\s0\fR" 4
.IX Item "UTF-16LE"
\&\s-1BOM\s0 $BL5$7$G(B Little Endian $B$N(B UTF\-16$B!#(B
\&\fB\-w16L0, \-W16L\fR $B$HF1$8!#(B
.RE
.RS 4
.RE
.IP "\fB\-\-fj \-\-unix \-\-mac \-\-msdos \-\-windows\fR" 4
.IX Item "--fj --unix --mac --msdos --windows"
$B$3$l$i$N%7%9%F%`$KE,$7$?JQ49$r$7$^$9!#(B
.IP "\fB\-\-jis \-\-euc \-\-sjis \-\-mime \-\-base64\fR" 4
.IX Item "--jis --euc --sjis --mime --base64"
$BBP1~$9$kJQ49$r$7$^$9!#(B
.IP "\fB\-\-hiragana \-\-katakana\fR" 4
.IX Item "--hiragana --katakana"
$BJ?2>L>!"JR2>L>JQ49(B
.IP "\fB\-\-fb\-{skip, html, xml, perl, java, subchar}\fR" 4
.IX Item "--fb-{skip, html, xml, perl, java, subchar}"
Unicode $B$+$i(B Shift_JIS, EUC-JP, \s-1ISO\-2022\-JP\s0 $B$KJQ49$9$k:]$K!"JQ49$G$-$J$+$C$?J8;z$r$I$&07$&$+$r;XDj$G$-$^$9!#(B
.IP "\fB\-\-prefix=\f(BIescape character\fB\f(BItarget character\fB..\fR" 4
.IX Item "--prefix=escape charactertarget character.."
EUC-JP $B$+$i(B Shift_JIS $B$X$NJQ49$N:]!"(B2 $B%P%$%HL\(B
$B$K8=$l$?J8;z$NA0$K%(%9%1!<%WJ8;z$r$D$1$k$3$H$,$G$-$^$9!#(B
$B0z?t$N(B 1 $BJ8;zL\$,%(%9%1!<%WJ8;z!"(B2 $BJ8;zL\0J9_$K%(%9%1!<%W$5$l$k$Y$-J8;z$r;XDj$7$^$9!#(B
.Sp
$BNc$($P!"(B
.Sp
\&\-\-prefix=\e$@ $B$H$9$k$H!"(BShift_JIS $B$N(B 2 $BJ8;zL\$K(B $ $B$+(B @ $B$,Mh$?$i!"$=$NA0$K(B \e $B$,A^F~$5$l$^$9(B
\&\-\-prefix=@@ $B$H$9$k$H!"(BShift_JIS $B$N(B 2 $BJ8;zL\$K(B @ $B$,Mh$?$i!"$=$NA0$K(B @ $B$,A^F~$5$l$^$9(B
.IP "\fB\-\-no\-cp932ext\fR" 4
.IX Item "--no-cp932ext"
\&\s-1CP932\s0 $B$K$*$$$F3HD%$5$l$?!"(BNEC $BFC<lJ8;z!"(BNEC $BA*Dj(B \s-1IBM\s0 $B3HD%J8;z(B (89\-92 $B6h(B)$B!"(BIBM $B3HD%J8;z$rJQ49$7$^$;$s!#(B
.IP "\fB\-\-no\-best\-fit\-chars\fR" 4
.IX Item "--no-best-fit-chars"
Unicode $B$+$i$NJQ49$N:]$K!"1}I|0BA4@-$,3NJ]$5$l$J$$J8;z$NJQ49$r9T$$$^$;$s!#(B
Unicode $B$+$i(B Unicode $B$NJQ49$N:]$K(B \-x $B$H6&$K;XDj$9$k$H!"(Bnkf $B$r(B \s-1UTF\s0 $B7A<0$NJQ49$KMQ$$$k$3$H$,$G$-$^$9!#(B
($B5U$K8@$($P!"$3$l$r;XDj$7$J$$$H0lIt$NJ8;z$,J]B8$5$l$^$;$s(B)
.Sp
$B%Q%9$K4X$o$kJ8;zNs$rJQ49$9$k:]$K$O!"$3$N%*%W%7%g%s$r;XDj$9$k$3$H$r6/$/?d>)$7$^$9!#(B
.IP "\fB\-\-cap\-input, \-\-url\-input\fR" 4
.IX Item "--cap-input, --url-input"
$B$=$l$>$l(B :$B!"(B% $B$KB3$/(B 16 $B?J?t$rJ8;z$KJQ49$9$k(B
.IP "\fB\-\-numchar\-input\fR" 4
.IX Item "--numchar-input"
&#....; $B$N$h$&$J(B Unicode $BJ8;z;2>H$rJQ49$9$k(B
.IP "\fB\-\-in\-place[=\f(BI\s-1SUFFIX\s0\fB] \-\-overwrite[=\f(BI\s-1SUFFIX\s0\fB]\fR" 4
.IX Item "--in-place[=SUFFIX] --overwrite[=SUFFIX]"
$B85$N%U%!%$%k$rJQ497k2L$GCV$-49$($k!#(B
$BJ#?t$N%U%!%$%k$r=q$-49$($k$3$H$b2DG=!#(B
$B85$N%U%!%$%k$N%?%$%`%9%?%s%W$H%Q!<%_%C%7%g%s$,J];}$5$l$k!#(B
$B8=:_!":n@.F|;~$d(B inode $B$OJQ99$5$l$k$,!">-Mh$K$o$?$C$F$3$N<BAu$N$^$^$G$"$kJ]>Z$OL5$$!#(B
.IP "\fB\-\-guess\fR" 4
.IX Item "--guess"
$B<+F0H=JL$N7k2L$r=PNO$9$k(B
.IP "\fB\-\-help\fR" 4
.IX Item "--help"
$B%3%^%s%I$N4JC1$J@bL@$rI=<($9$k!#(B
.IP "\fB\-V\fR" 4
.IX Item "-V"
nkf $B$N@_Dj$rI=<($9$k!#(B
.IP "\fB\-v\fR \fB\-\-version\fR" 4
.IX Item "-v --version"
nkf $B$N%P!<%8%g%s$rI=<($9$k!#(B
.IP "\fB\-\-\fR" 4
.IX Item "--"
$B$3$l0J9_$N%*%W%7%g%s$rL5;k$9$k(B
.IP "\fB\-\-exec\-in\fR" 4
.IX Item "--exec-in"
nkf [options] \-\-exec\-in cmd args... $B$H$d$k$H!"(Bcmd $B$N=PNO$r(B nkf $B$NF~NO$H$9$k(B
(config.h $B$G(B \s-1EXEC_IO\s0 $B$r(B define $B$7$F%3%s%Q%$%k$7$?;~$N$_M-8z(B)
.IP "\fB\-\-exec\-out\fR" 4
.IX Item "--exec-out"
nkf [options] \-\-exec\-out cmd args... $B$H$d$k$H!"(Bnkf $B$N=PNO$r(B cmd $B$NF~NO$H$9$k(B
(config.h $B$G(B \s-1EXEC_IO\s0 $B$r(B define $B$7$F%3%s%Q%$%k$7$?;~$N$_M-8z(B)
.SH "BUGS"
.IX Header "BUGS"
$B<B$O!"F~NO$N%3!<%I7O$NH=Dj$O!"(BShift_JIS $B$H(B \s-1EUC\s0 $B$H$N<+F0H=Dj$G$"$j!":G=i$KFCDj$G$-$kJ8;z$,Mh$?;~E@$G3NDj$7$F$7$^$&!#(B
$B$=$7$F!"FCDjITG=$N4V$OJ]N1%P%C%U%!$K$?$a$F$*$+$l!"3NDj8e$K=hM}$5$l$k!#(B
$B$3$N$?$a!"(B7 $B%S%C%H(B \s-1JIS\s0 $B$O>o$KG'<1$5$l$k!#(B
Shift_JIS$B!"(BEUC $B:.9g$b$[$H$s$I$N>l9g$OLdBj$,$J$$!#(B
$B$?$@$7!"(BShift_JIS $B$N$$$o$f$kH>3Q%+%J(B (\s-1JIS\s0 X 0201 $BJR2>L>(B) $B$H(B \s-1EUC\s0 $B4A;z$,<1JL$G$-$J$$!#(B
$B$7$?$,$C$F!"%G%U%)%k%H$G$O(B Shift_JIS $B$N$$$o$f$kH>3Q%+%J$O$J$$$H2>Dj$7$F$$$k!#(B
($B$D$^$j!"(BShift_JIS $B$+(B \s-1EUC\s0 $B$+LB$C$?;~$O(B \s-1EUC\s0 $B$H$_$J$9(B)
.PP
Unicode $B$NF|K\8l0J30$NItJ,$NJQ49$K$OBP1~$7$F$$$J$$$,!"(B\fB\-\-no\-best\-fit\-chars\fR $B$r;XDj$9$l$P!"(BUTF\-8 $B$H(B \s-1UTF\-16\s0 $B$NAj8_JQ49$r$9$k$3$H$O2DG=$G$"$k!#(B
.SH "ACKNOWLEDGE"
.IX Header "ACKNOWLEDGE"
$B0J2<$N$+$?$,$?!"$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B
.SS "nkf 1.4"
.IX Subsection "nkf 1.4"
morb@fujitsu, kiss@ayumi.stars.flab.fujitsu, cen122@flab.fujitsu,
yuki@flab.fujitsu $BB>!"(Bfujitsu & flab.fujitsu $B$N3'$5$s$N6(NO$K46<U!#(B
shinoda@cs.titech, kato@cs.titech, uematsu@cs.titech \s-1TNX\s0
kono@ie.u\-ryukyu.ac.jp
void@merope.pleiades.or.jp (Kusakabe Youichi)
\&\s-1NIDE\s0 Naoyuki <nide@ics.nara\-wu.ac.jp>
ohta@src.ricoh.co.jp (Junn Ohta)
inouet@strl.nhk.or.jp (Tomoyuki Inoue)
kiri@pulser.win.or.jp (Tetsuaki Kiriyama)
Kimihiko Sato <sato@sail.t.u\-tokyo.ac.jp>
a_kuroe@kuroe.aoba.yokohama.jp (Akihiko Kuroe)
kono@ie.u\-ryukyu.ac.jp (Shinji Kono)
GHG00637@nifty\-serve.or.jp (\s-1COW\s0)
.SS "nkf 1.9\-"
.IX Subsection "nkf 1.9-"
.IP "$B2OLn??<#(B" 4
.IX Item "$B2OLn??<#(B"
.PD 0
.IP "Akio Furukawa" 4
.IX Item "Akio Furukawa"
.IP "Andy Taki" 4
.IX Item "Andy Taki"
.IP "From: \s-1OHARA\s0 Shigeki" 4
.IX Item "From: OHARA Shigeki"
.IP "Fumitaka Kitagawa" 4
.IX Item "Fumitaka Kitagawa"
.IP "Hiroaki Sengoku" 4
.IX Item "Hiroaki Sengoku"
.IP "Ikuhiro \s-1MORITA\s0 ($B?9ED(B $B0i9((B)" 4
.IX Item "Ikuhiro MORITA ($B?9ED(B $B0i9((B)"
.IP "Yoshiharu \s-1ITO\s0" 4
.IX Item "Yoshiharu ITO"
.IP "Junn Ohta" 4
.IX Item "Junn Ohta"
.IP "\s-1KAWAMURA\s0 Masao" 4
.IX Item "KAWAMURA Masao"
.IP "Kazuhiko Mori" 4
.IX Item "Kazuhiko Mori"
.IP "Keitaro Isokawa" 4
.IX Item "Keitaro Isokawa"
.IP "Ken-ichi Hirose" 4
.IX Item "Ken-ichi Hirose"
.IP "Ki-ichiro \s-1SATO\s0" 4
.IX Item "Ki-ichiro SATO"
.IP "Kiwamu Aoyama" 4
.IX Item "Kiwamu Aoyama"
.IP "Koichi Hirayama" 4
.IX Item "Koichi Hirayama"
.IP "Mitsuru Hase ($BD9C+!!K~(B)" 4
.IX Item "Mitsuru Hase ($BD9C+!!K~(B)"
.IP "\s-1OHARA\s0 Shigeki ($BBg86(B $B=E<y(B)" 4
.IX Item "OHARA Shigeki ($BBg86(B $B=E<y(B)"
.IP "Rei \s-1FURUKAWA\s0" 4
.IX Item "Rei FURUKAWA"
.IP "Satoru Takabayashi" 4
.IX Item "Satoru Takabayashi"
.IP "Shigeyuki Takagi" 4
.IX Item "Shigeyuki Takagi"
.IP "Shin \s-1MICHIMUKO\s0" 4
.IX Item "Shin MICHIMUKO"
.IP "Tadamasa Teranishi" 4
.IX Item "Tadamasa Teranishi"
.IP "\s-1TOYODA\s0 Jiro" 4
.IX Item "TOYODA Jiro"
.IP "\s-1TSUCHIYA\s0 Masatoshi" 4
.IX Item "TSUCHIYA Masatoshi"
.IP "Tsutomu Sakai" 4
.IX Item "Tsutomu Sakai"
.IP "\s-1YAMASHITA\s0 Junji ($B;32<(B $B=c;J(B)" 4
.IX Item "YAMASHITA Junji ($B;32<(B $B=c;J(B)"
.IP "Yasuyuki Sato" 4
.IX Item "Yasuyuki Sato"
.IP "Yoshiaki Yanagihara" 4
.IX Item "Yoshiaki Yanagihara"
.IP "hat@so\-net" 4
.IX Item "hat@so-net"
.IP "$B#D#C#C5;=QItEOJU(B" 4
.IX Item "$B#D#C#C5;=QItEOJU(B"
.IP "$B$+$H$Z(B / $B2CF#(B $B5.;J(B" 4
.IX Item "$B$+$H$Z(B / $B2CF#(B $B5.;J(B"
.IP "$B$+$Y(Bdais" 4
.IX Item "$B$+$Y(Bdais"
.IP "$B$R$m$;(B $B$^$5$"$-(B" 4
.IX Item "$B$R$m$;(B $B$^$5$"$-(B"
.IP "$B%$%s%H%i%M%C%H%7%9%F%`(B($B3t(B)$B>>Hx(B" 4
.IX Item "$B%$%s%H%i%M%C%H%7%9%F%`(B($B3t(B)$B>>Hx(B"
.IP "$B1-;tJ8IR(B" 4
.IX Item "$B1-;tJ8IR(B"
.IP "$B1v:j(B $B5#I'(B(\s-1SHIOZAKI\s0 Takehiko)" 4
.IX Item "$B1v:j(B $B5#I'(B(SHIOZAKI Takehiko)"
.IP "$B2OB<2mIW(B (Media Lab.)" 4
.IX Item "$B2OB<2mIW(B (Media Lab.)"
.IP "$B2OLn(B $B9/;J(B" 4
.IX Item "$B2OLn(B $B9/;J(B"
.IP "$B4n@%!HE_G-!I9@!wFn9q2-Fl(B" 4
.IX Item "$B4n@%!HE_G-!I9@!wFn9q2-Fl(B"
.IP "$B6b0f(B $BCRI'(B" 4
.IX Item "$B6b0f(B $BCRI'(B"
.IP "$B7KED(B $BM4;K(B ($B$+$D$i$@(B $B$^$5$7(B)" 4
.IX Item "$B7KED(B $BM4;K(B ($B$+$D$i$@(B $B$^$5$7(B)"
.IP "$B9b6659LA(B" 4
.IX Item "$B9b6659LA(B"
.IP "$B9q5H(B" 4
.IX Item "$B9q5H(B"
.IP "$B9u9>L@I'(B" 4
.IX Item "$B9u9>L@I'(B"
.IP "$B;0Bp@5BY(B" 4
.IX Item "$B;0Bp@5BY(B"
.IP "$B;3AR(B $B??(B" 4
.IX Item "$B;3AR(B $B??(B"
.IP "$B;3K\(B $BK'?M(B" 4
.IX Item "$B;3K\(B $BK'?M(B"
.IP "$B;3LnM5;J(B ($B$d$^$N$f$&$8(B)" 4
.IX Item "$B;3LnM5;J(B ($B$d$^$N$f$&$8(B)"
.IP "$B=EB<K!9n(B" 4
.IX Item "$B=EB<K!9n(B"
.IP "$B>.Eg4pLw(B" 4
.IX Item "$B>.Eg4pLw(B"
.IP "$B>eED!!7r(B" 4
.IX Item "$B>eED!!7r(B"
.IP "$B?70f(B $B9/;J(B (Koji Arai)" 4
.IX Item "$B?70f(B $B9/;J(B (Koji Arai)"
.IP "$B?9!!@i3(;R(B" 4
.IX Item "$B?9!!@i3(;R(B"
.IP "$B?9!!OBI'(B" 4
.IX Item "$B?9!!OBI'(B"
.IP "$B?eLn(B $B5.J8(B" 4
.IX Item "$B?eLn(B $B5.J8(B"
.IP "$BA0COOB=S(B" 4
.IX Item "$BA0COOB=S(B"
.IP "$BCg=!:,!wJBNs?.Mj8&(B" 4
.IX Item "$BCg=!:,!wJBNs?.Mj8&(B"
.IP "$BCvC+(B $B1Q0lO:(B == Eiichiro Itani" 4
.IX Item "$BCvC+(B $B1Q0lO:(B == Eiichiro Itani"
.IP "$BF#86!!=(9T(B" 4
.IX Item "$BF#86!!=(9T(B"
.IP "$BH,ED(B $B??9T(B (Masayuki Hatta)" 4
.IX Item "$BH,ED(B $B??9T(B (Masayuki Hatta)"
.IP "$BHx@nIRLi(B" 4
.IX Item "$BHx@nIRLi(B"
.IP "$BK>7n(B $B9';V(B" 4
.IX Item "$BK>7n(B $B9';V(B"
.IP "$BLZB<(B ($B!wC^GHBg3X?t3X8&5f2J(B)" 4
.IX Item "$BLZB<(B ($B!wC^GHBg3X?t3X8&5f2J(B)"
.IP "$BLnB<=S>4(B" 4
.IX Item "$BLnB<=S>4(B"
.IP "$BM-2,!w%_%N%k%?(B" 4
.IX Item "$BM-2,!w%_%N%k%?(B"
.IP "$BM-Bt(B $BL@9((B" 4
.IX Item "$BM-Bt(B $BL@9((B"
.IP "$BMn9g0l4n(B" 4
.IX Item "$BMn9g0l4n(B"
.IP "$BNS(B $BN<(B" 4
.IX Item "$BNS(B $BN<(B"
.IP "$BT"0B(B $B<#(B" 4
.IX Item "$BT"0B(B $B<#(B"
.IP "$BLZ2<(B $BM:2p(B" 4
.IX Item "$BLZ2<(B $BM:2p(B"
.IP "$BEDCfN4M5(B" 4
.IX Item "$BEDCfN4M5(B"
.IP "$BDaC+D><y(B" 4
.IX Item "$BDaC+D><y(B"
.IP "$BCfED?-1Y(B" 4
.IX Item "$BCfED?-1Y(B"
.IP "$B$o$?$J$Y$R$m$U$_(B" 4
.IX Item "$B$o$?$J$Y$R$m$U$_(B"
.IP "MoonWolf" 4
.IX Item "MoonWolf"
.IP "sava" 4
.IX Item "sava"
.PD
.SH "AUTHOR"
.IX Header "AUTHOR"
.IP "$B;T@n(B $B;j(B ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)" 4
.IX Item "$B;T@n(B $B;j(B ichikawa@flab.fujitsu.co.jp (was ichikawa@fujitsu.JUNET)"
.PD 0
.IP "$B2OLn(B $B??<#(B kono@ie.u\-ryukyu.acjp" 4
.IX Item "$B2OLn(B $B??<#(B kono@ie.u-ryukyu.acjp"
.IP "Rei \s-1FURUKAWA\s0 furukawa@tcp\-ip.or.jp" 4
.IX Item "Rei FURUKAWA furukawa@tcp-ip.or.jp"
.IP "$B@.@%(B" 4
.IX Item "$B@.@%(B"
.IP "mastodon" 4
.IX Item "mastodon"
.PD
.PP
http://sourceforge.jp/projects/nkf/
.PP
Copyright (C) 1987, \s-1FUJITSU\s0 \s-1LTD\s0. (I.Ichikawa).
.PP
Copyright (C) 1996\-2013, The nkf Project.

20
SOURCES/nkf.copyright Normal file
View File

@ -0,0 +1,20 @@
It was downloaded from
ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/nkf171.shar
ftp://ftp.iij.ad.jp/pub/NetNews/fj.sources/volume98/Nov/981108.01.Z
Subject: nkf 1.7 (Network Kanji Filter w/Perl Extenstion)
Message-ID: <29544.910459296@rananim.ie.u-ryukyu.ac.jp>
Copyright:
Copyright (C) 1987, Fujitsu LTD. (Itaru ICHIKAWA)
$B!J(BE-Mail Address: ichikawa@flab.fujitsu.co.jp$B!K(B
Copyright (C) 1996,1998 Kono, COW
$B!J(BE-Mail Address: kono@ie.u-ryukyu.ac.jp$B!K(B
Everyone is permitted to do anything on this program
including copying, modifying, improving.
as long as you don't try to pretend that you wrote it.
i.e., the above copyright notice has to appear in all copies.
You don't have to ask before copying or publishing.
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE.

323
SPECS/nkf.spec Normal file
View File

@ -0,0 +1,323 @@
Name: nkf
Epoch: 1
Version: 2.1.4
Release: 8%{?dist}
License: BSD
URL: http://nkf.osdn.jp/
Source0: http://iij.dl.osdn.jp/nkf/64158/%{name}-%{version}.tar.gz
## snippet from the source code
Source3: nkf.copyright
Source4: nkf.1j
Patch0: %{name}-fix-man.patch
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
Summary: A Kanji code conversion filter
Group: Applications/Text
%description
Nkf is a Kanji code converter for terminals, hosts, and networks. Nkf
converts input Kanji code to 7-bit JIS, MS-kanji (shifted-JIS) or
EUC.
%package -n perl-NKF
Summary: Perl extension for Network Kanji Filter
Group: Applications/Text
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description -n perl-NKF
This is a Perl Extension version of nkf (Network Kanji Filter).
It converts the last argument and return converted result.
Conversion details are specified by flags before the last argument.
%prep
%autosetup -p1
cp -p %{SOURCE4} .
%build
make CFLAGS="$RPM_OPT_FLAGS" nkf
cp -p %{SOURCE3} .
pushd NKF.mod
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
make %{?_smp_mflags}
popd
%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,ja/man1}
./nkf -e nkf.1j > nkf.1jeuc
iconv -f euc-jp -t utf-8 nkf.1jeuc > nkf.1utf8
touch -r nkf.1j nkf.1utf8
install -m 755 -p nkf $RPM_BUILD_ROOT%{_bindir}
install -m 644 -p nkf.1 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 -p nkf.1utf8 $RPM_BUILD_ROOT%{_mandir}/ja/man1/nkf.1
pushd NKF.mod
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"
rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/perllocal.pod \
$RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod \
$RPM_BUILD_ROOT%{perl_vendorarch}/auto/NKF/NKF.bs \
$RPM_BUILD_ROOT%{perl_vendorarch}/auto/NKF/.packlist
popd
chmod 0755 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/NKF/NKF.so
%check
make test
%files
%doc nkf.doc
%license nkf.copyright
%{_bindir}/nkf
%{_mandir}/man1/nkf.1*
%{_mandir}/ja/man1/nkf.1*
%files -n perl-NKF
%doc nkf.doc
%license nkf.copyright
%{perl_vendorarch}/NKF.pm
%{perl_vendorarch}/auto/*
%{_mandir}/man3/NKF.3pm.gz
%changelog
* Mon Jan 29 2018 Akira TAGOH <tagoh@redhat.com> - 1:2.1.4-8
- Fix manpage (#1539528)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.1.4-5
- Perl 5.26 rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.1.4-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Dec 16 2015 Akira TAGOH <tagoh@redhat.com> - 1:2.1.4-1
- New upstream release. (#129029)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.1.3-6
- Perl 5.22 rebuild
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.1.3-5
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Jan 15 2014 Akira TAGOH <tagoh@redhat.com> - 1:2.1.3-2
- Fix the broken nkf man page. (#1039359)
* Tue Nov 26 2013 Akira TAGOH <tagoh@redhat.com> - 1:2.1.3-1
- New upstream release. (#1034089)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:2.1.2-8
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Nov 23 2012 Akira TAGOH <tagoh@redhat.com> - 1:2.1.2-6
- Add %%check.
* Thu Nov 22 2012 Akira TAGOH <tagoh@redhat.com> - 1:2.1.2-5
- the spec file cleanup.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:2.1.2-3
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Sep 9 2011 Akira TAGOH <tagoh@redhat.com> - 1:2.1.2-1
- New upstream release. (#737004)
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1:2.1.1-4
- Perl mass rebuild
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1:2.1.1-3
- Perl mass rebuild
* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.1.1-2
- Perl mass rebuild
* Wed Mar 16 2011 Akira TAGOH <tagoh@redhat.com> - 1:2.1.1-1
- New upstream release.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.8b-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.0.8b-8
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.0.8b-7
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.8b-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.8b-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Nov 21 2008 Akira TAGOH <tagoh@redhat.com> - 1:2.0.8b-4
- Fix a source URL.
* Tue Jul 1 2008 Akira TAGOH <tagoh@redhat.com> - 1:2.0.8b-3
- Add perl(:MODULE_COMPAT_...) deps. (#453413)
* Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 1:2.0.8b-2
- Rebuild for gcc-4.3.
* Fri Sep 21 2007 Akira TAGOH <tagoh@redhat.com> - 1:2.0.8b-1
- New upstream release.
- clean up the spec file.
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 2.07-3
- Rebuild
* Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com> - 2.07-2
- Update License tag.
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.07-1.1
- rebuild
* Thu Jul 6 2006 Akira TAGOH <tagoh@redhat.com> - 2.07-1
- New upstream release.
- use dist tag.
- clean up the spec file.
* Thu Mar 30 2006 Akira TAGOH <tagoh@redhat.com> - 2.06-1
- New upstream release.
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.05-1.2.1
- bump again for double-long bug on ppc(64)
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.05-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Jul 7 2005 Akira TAGOH <tagoh@redhat.com> - 2.05-1
- New upstream release.
* Thu Mar 17 2005 Akira TAGOH <tagoh@redhat.com> - 2.04-5
- rebuilt
* Thu Feb 10 2005 Akira TAGOH <tagoh@redhat.com> - 2.04-4
- rebuilt
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jan 07 2004 Akira TAGOH <tagoh@redhat.com> 2.04-1
- New upstream release.
* Tue Sep 30 2003 Akira TAGOH <tagoh@redhat.com> 2.03-1
- New upstream release.
- converted Japanese nkf.1 to UTF-8. (#105762)
- nkf-1.92-glibc2290.diff: removed.
* Thu Aug 7 2003 Elliot Lee <sopwith@redhat.com> 2.02-4
- Fix unpackaged files
* Fri Jun 27 2003 Akira TAGOH <tagoh@redhat.com> 2.02-3
- had perl-NKF as separated package.
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Apr 09 2003 Akira TAGOH <tagoh@redhat.com> 2.02-1
- New upstream release.
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Fri Jan 10 2003 Akira TAGOH <tagoh@redhat.com> 2.01-1
- New upstream release.
it contains UTF-8 support.
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
- rebbuild on all arches
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jun 19 2002 Akira TAGOH <tagoh@redhat.com> 1.92-10
- fix the stripped binary.
- s/Copyright/License/
* Mon Jun 03 2002 Yukihiro Nakai <ynakai@redhat.com>
- Add output bug patch for glibc-2.2.90 (#65864)
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue Sep 4 2001 SATO Satoru <ssato@redhat.com> - 1.92-6
- attached nkf.1jeuc(euc-jp) instead of nkf.1j(iso-2022-jp) (#53127)
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Wed Feb 28 2001 SATO Satoru <ssato@redhat.com>
- nkf.copyright attached
- use system-defined macros (%%*dir)
* Tue Aug 29 2000 ISHIKAWA Mutsumi <ishikawa@redhat.com>
- adopt FHS
* Mon Aug 7 2000 ISHIKAWA Mutsumi <ishikawa@redhat.com>
- japanese manpages moved ja_JP.eucJP -> ja
- modified to be able to build by normal user.
* Tue Aug 01 2000 Yukihiro Nakai <ynakai@redhat.com>
- Update to 1.92
- rebuild for 7.0J
* Sat Mar 25 2000 Matt Wilson <msw@redhat.com>
- rebuilt for 6.2j
- support compressed man pages
* Wed Mar 22 2000 Chris Ding <cding@redhat.com>
- ja_JP.ujis -> ja_JP.eucJP
* Thu Oct 7 1999 Matt Wilson <msw@redhat.com>
- rebuilt against 6.1
* Sun May 30 1999 FURUSAWA,Kazuhisa <kazu@linux.or.jp>
- 1st Release for i386 (glibc2.1).
- Original Packager: Kazuhiko Mori(COW) <cow@he.mirai.ne.jp>
* Sun Jan 10 1999 Kazuhiko Mori(COW) <cow@he.mirai.ne.jp>
- just rebuilt for glibc TL. (release not changed.)