我无法理解命令手册中的“概要”部分。例如,让我们看看它的联机帮助页man
。由man man
:
SYNOPSIS
man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L
locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I]
[--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P
pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi‐
cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z]
[[section] page ...] ...
man -k [apropos options] regexp ...
man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...
man -f [whatis options] page ...
man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L
locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t]
[-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ...
man -w|-W [-C file] [-d] [-D] page ...
man -c [-C file] [-d] [-D] page ...
man [-hV]
- 概要部分是否描述了该命令的语法?
- 这些
[...]
和[...]
内部[...]
是什么意思?他们的意思是可选的吗? - 是否
|
意味着OR? - 是什么
,
意思[-m system[,...]]
? - 概要部分是否遵循用于正则表达式的规则?
相关阅读: “实用工具约定”在POSIX标准:pubs.opengroup.org/onlinepubs/9699919799/basedefs/...
—
Kusalananda