我必须在一个打印命令中打印以下三行,而不使用echo命令。所以我选择了printf命令,这是三行:
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
到目前为止,我所做的是:
printf "
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
"
但是我在第三行','遇到了bash错误。
所以有人会启发我的。
print
命令与printf
命令之间是有区别的。