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