2014-09-21 51 views
1

我正在閱讀ln手冊頁,並且遇到以下內容提要。手冊頁中的省略號(...)意味着什麼

ln [-Ffhinsv] source_file ... target_dir 

什麼是符號...以上是什麼意思?

+4

您可以有多個* source-file *,例如'ln file1 file2 file3 target-dir /' – 2014-09-21 17:41:44

+1

這個省略號'(...)'是一個通用的符號,用來表示前面提到的類型可以實現多種類型! – 2014-09-21 17:42:45

回答

8

這意味着一個可重複的參數(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. 

根據該男子頁,稱ln一樣,將在目標目錄中創建的所有源文件的鏈接例如ln file1 file2 file3 target-dir/