ex71c.sh
来自「一本完整的描述Unix Shell 编程的工具书的所有范例」· Shell 代码 · 共 20 行
SH
20 行
#!/bin/bash# A 'cat' here document, but with parameter substitution disabled.NAME="John Doe"RESPONDENT="the author of this fine script" cat <<'Endofmessage'Hello, there, $NAME.Greetings to you, $NAME, from $RESPONDENT.Endofmessage# No parameter substitution when the "limit string" is quoted or escaped.# Either of the following at the head of the here document would have the same effect.# cat <<"Endofmessage"# cat <<\Endofmessageexit 0
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?