man页面中的省略号(...)代表什么意思?

8
我正在阅读ln的手册页面,发现以下概要(SYNOPSIS)内容。
ln [-Ffhinsv] source_file ... target_dir

符号...上面的意思是什么?

5
你可以有多个源文件,例如ln file1 file2 file3 target-dir/ - Basile Starynkevitch
1
这个省略号 (...) 是一个通用符号,用于表示可能有几种与先前提到的类型相关的类型! - Am_I_Helpful
1个回答

21

这意味着一个可重复使用的参数 (source_file)。

man man

The following conventions apply to the SYNOPSIS section and can be used
as a guide in other sections.

bold text          type exactly as shown.
italic text        replace with appropriate argument.
[-abc]             any or all arguments within [ ] are optional.
-a|-b              options delimited by | cannot be used together.

argument ...       argument is repeatable.
[expression] ...   entire expression within [ ] is repeatable.
根据 man 手册,以这种方式调用 ln 命令将会为目标目录中的所有源文件创建链接,例如:ln file1 file2 file3 target-dir/。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接