[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:01301] Re: bash, (japanese) man



やなぎはらです。

From: Atsuhito Kohda <kohda@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <199707240141.KAA03859@xxxxxxxxxxxxxxxxxxxxxxxx>

kohda> (1) Bash について。
kohda> (1-1) bash で which で存在しないコマンドを入力すると tcsh の
kohda> ような Command not found が何も表示されません。Slack では何か
kohda> 表示されていたように思うのですが。

bash は、/usr/bin/which を起動します。
で、Debian の /usr/bin/which は、bash のビルドインコマンドである
type コマンドを実行するようになっています。
(/usr/bin/which は、シェルスクリプト。詳しくは、man bash。)

tcsh の which は、そのものがビルドインコマンドなので、
/usr/bin/which と動作がちがっても問題ありません。

zsh の which もそのものがビルドインコマンドなのです。

kohda> (2) man で less を使おうと思い setenv PAGER "less -s" にした
kohda> ところ,日本語の場合,"名前","形式"などの見出し(?)のみが
kohda> 文字化けし本文はちゃんと読めるような奇妙な症状になってしまいます。

PAGER="less -s"としましたが、
kon, cannaserver とも正しく表示されましたが。

うむ?

+---------------------------------------------------------+
 Yoshiaki Yanagihara		E-mail: yochi@xxxxxxxxxxx           
					yosiaki@debian.org
 Debian JP Project
 [Japanese] http://www.debian.linux.or.jp/
 [English ] Sorry, now under construction.