Browsing Chinese (Traditional) translation

593 of 594 results
593.
Read lines from the standard input into an indexed array variable.

Read lines from the standard input into the indexed array variable ARRAY, or
from file descriptor FD if the -u option is supplied. The variable MAPFILE
is the default ARRAY.

Options:
-d delim[tab]Use DELIM to terminate lines, instead of newline
-n count[tab]Copy at most COUNT lines. If COUNT is 0, all lines are copied
-O origin[tab]Begin assigning to ARRAY at index ORIGIN. The default index is 0
-s count[tab]Discard the first COUNT lines read
-t[tab]Remove a trailing DELIM from each line read (default newline)
-u fd[tab]Read lines from file descriptor FD instead of the standard input
-C callback[tab]Evaluate CALLBACK each time QUANTUM lines are read
-c quantum[tab]Specify the number of lines read between each call to
[tab][tab][tab]CALLBACK

Arguments:
ARRAY[tab]Array variable name to use for file data

If -C is supplied without -c, the default quantum is 5000. When
CALLBACK is evaluated, it is supplied the index of the next array
element to be assigned and the line to be assigned to that element
as additional arguments.

If not supplied with an explicit origin, mapfile will clear ARRAY before
assigning to it.

Exit Status:
Returns success unless an invalid option is given or ARRAY is readonly or
not an indexed array.
[tab] represents a tab character. Please write it exactly the same way, [tab], in your translation.
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.
There are leading/trailing spaces here. Each one represents a space character. Enter a space in the equivalent position in the translation.
從標準輸入讀取列到索引陣列變數中。

從標準輸入讀取列到索引陣列變數 ARRAY 中,或者如果使用了 -u 選項,
從檔案描述符 FD 中讀取。MAPFILE 變數是預設的 ARRAY 變數。

選項:
-d delim[tab]使用 DELIM 取代換行符號來斷行
-n count[tab]最多複製 COUNT 列,如果 COUNT 為 0,則複製所有列。
-O origin[tab]從索引 ORIGIN 開始 指派給 ARRAY 變數。預設索引是 0。
-s count [tab]丟棄最先讀取的 COUNT 列。
-t[tab][tab]從讀取的每列末尾刪除一個換列符。
-u fd[tab][tab]從檔案描述符 FD 中讀取列而不是標準輸入。
-C callback[tab]每 QUANTUM 次讀列之後對 CALLBACK 回呼求值。
-c quantum[tab]定義每次呼叫 CALLBACK 回呼之間讀取的列數。

參數:
ARRAY[tab][tab]儲存資料使用的陣列變數

如果使用了 -C 而沒有 -c,預設的定量是 5000。當對 CALLBACK 求值時,
下一個將被指派的陣列元素索引做為額外參數被傳遞。

如果沒有顯式指定起始索引,mapfile 將在指派前清空 ARRAY 變數。

結束狀態:
回傳成功,除非使用了無效的選項,或者 ARRAY 變數唯讀或不是索引陣列。
Translated by pan93412
Located in builtins.c:2050
593 of 594 results

This translation is managed by Ubuntu Traditional Chinese (Taiwan) Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.