Perlの日本語ドキュメントをインストールして、使う方法について。
インストール
FreeBSDのportsからインストールします。
% sudo portinstall /usr/ports/japanese/p5-manual/
Password:
[Gathering depends for japanese/p5-manual done]
---> Installing 'ja-p5-man-5.000' from a port (japanese/p5-manual)
---> Building '/usr/ports/japanese/p5-manual'
===> Cleaning for ja-p5-man-5.000
===> Vulnerability check disabled, database not found
=> perl5.000man-j.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sada/.
perl5.000man-j.tar.gz 100% of 210 kB 92 kBps
===> Extracting for ja-p5-man-5.000
===> Vulnerability check disabled, database not found
=> MD5 Checksum OK for perl5.000man-j.tar.gz.
=> SHA256 Checksum OK for perl5.000man-j.tar.gz.
===> Patching for ja-p5-man-5.000
===> Configuring for ja-p5-man-5.000
---> Installing the new version via the port
===> Installing for ja-p5-man-5.000
===> Generating temporary packing list
===> Checking if japanese/p5-manual already installed
===> Registering installation for ja-p5-man-5.000
===> Cleaning for ja-p5-man-5.000
使い方
jmanコマンドで参照します。
jman subs