$ cat << EOF
> echo "this is EOF test"
> echo "this is line 2"
> EOF
echo "this is EOF test"
echo "this is line 2"
(
补充:这里以输出以下内容为例:
echo “this is EOF test”
echo “this is line 2”
)
$ cat << EOF
> echo "this is EOF test"
> echo "this is line 2"
> EOF
echo "this is EOF test"
echo "this is line 2"
(
补充:这里以输出以下内容为例:
echo “this is EOF test”
echo “this is line 2”
)