linux-tutorial/codes/shell/demos/comment-demo.sh

20 lines
353 B
Bash
Raw Normal View History

2019-02-28 19:33:08 +08:00
#!/usr/bin/env bash
#--------------------------------------------
# shell 注释示例
# authorzp
#--------------------------------------------
# echo '这是单行注释'
########## 这是分割线 ##########
2019-10-10 08:56:31 +08:00
: << EOF
2019-02-28 19:33:08 +08:00
echo '这是多行注释'
echo '这是多行注释'
echo '这是多行注释'
EOF
# Execute: ./comment-demo.sh
# Output: null