whatis: add Japanese translation, update page (#9775)

* whatis: add Japanese translation

* add example of --locale option

* Update whatis.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/3/head
yuiseki 2023-01-17 02:38:53 +09:00 committed by GitHub
parent 7619bf5256
commit 778badb13f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

24
pages.ja/linux/whatis.md Normal file
View File

@ -0,0 +1,24 @@
# whatis
> マニュアルページから、一行の説明文を表示します。
> 詳しくはこちら: <https://manned.org/whatis>.
- manページの説明文を表示する:
`whatis {{コマンド}}`
- 説明文を行末で切らないで表示する:
`whatis --long {{コマンド}}`
- globパターンにマッチするすべてのコマンドの説明文を表示する:
`whatis --wildcard {{net*}}`
- 正規表現でmanページの説明文を検索する:
`whatis --regex '{{wish[0-9]\.[0-9]}}'`
- 言語を指定して説明文で表示する (`manpage-{{ja}}` パッケージが必要です):
`whatis --locale={{ja}} {{コマンド}}`

View File

@ -18,3 +18,7 @@
- Search man page descriptions with a regular expression:
`whatis --regex '{{wish[0-9]\.[0-9]}}'`
- Display descriptions of a specific language (requires `manpage-{{locale}}` package):
`whatis --locale={{en}} {{command}}`