Re: [請益] 請問補充語句所補充的對象是?

作者: LongboardDC (薰兒和她的長板)   2021-09-12 21:42:50
※ 引述《zzss2003 (brotherD)》之銘言:
: 原文:
: The most common syntax for here documents, originating in Unix shells, is <<
: followed by a delimiting identifier (often the word EOF or END)[, followed,
: starting on the next line, by the text to be quoted], and then closed by the
: same delimiting identifier on its own line.
: 上列句子,如果拿掉[]裡面的句子,則會變成
: The most common syntax for here documents, originating in Unix shells, is <<
: followed by a delimiting identifier (often the word EOF or END), and then
: closed by the same delimiting identifier on its own line.
: 拿掉[]裡面的句子的中文翻譯:
: 源自於Unix shells 的here documents的最普遍的語法是, << 接著分隔號 (通常是EOF或
: 者是END),然後在同一行再用分隔號表示結束
on its own line是在單獨的一行
: 問題:
: 請問,[]中的 followed, starting on the next line, by the text to be quoted,
: 補充的對象分別是什麼?
the delimiting identifier
The delimiting identifier is followed by the text to be quoted
starting on the next line.
原文:
The most common syntax for here documents, originating in Unix shells,
is << followed by a delimiting identifier (often the word EOF or END),
followed, starting on the next line, by the text to be quoted,
and then closed by the same delimiting identifier on its own line.
源自於Unix shells的here documents的最普遍的語法,
是 << 接著一個標識符(通常是EOF或者是END),
標識符的下一行開始接著要引用的文字,
然後再在單獨的一行用相同的標識符關閉。
這段話表達的語法:
<< identifier (<< is followed by an identifier.)
text to be quoted (The identifier is followed by the text to be quoted
starting on the next line.)
identifier (closed by the same identifier on its own line.)
例子:
<< EOF ( << 接著一個標識符)
One (標識符的下一行開始接著要引用的文字)
Two
Three
EOF (再在單獨的一行用相同的標識符關閉)

Links booklink

Contact Us: admin [ a t ] ucptt.com