linux-tutorial/codes/shell/demos/comment-demo.sh
2019-10-10 08:56:31 +08:00

20 lines
353 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
#--------------------------------------------
# shell 注释示例
# authorzp
#--------------------------------------------
# echo '这是单行注释'
########## 这是分割线 ##########
: << EOF
echo '这是多行注释'
echo '这是多行注释'
echo '这是多行注释'
EOF
# Execute: ./comment-demo.sh
# Output: null