X-zcer / PIT-with-RTS

0 stars 0 forks source link

(七十六)shell块注释 #77

Open X-zcer opened 5 years ago

X-zcer commented 5 years ago
方法一
: '
被注释的多行内容 
'

方法二
:<<eof
被注释的多行内容 
eof

方法三
:<<!
被注释的多行内容 
!

方法四
 if false ; then 
    被注释的多行内容 
 fi

不能如下使用:
 if false ; then 
    #被注释的多行内容    不能加#
 fi