格式:: your comment here

格式:# your comment here

写代码注释(单行注释)。

 

例如:

格式:: 'comment line1

comment line2

more comments'

写多行注释。

格式:: >file

格式:>file

清空文件file的内容。

 

格式:: ${VAR:=DEFAULT}

当变量VAR没有声明或者为NULL时,将VAR设置为默认值DEFAULT。如果不在前面加上:命令,那么就会把${VAR:=DEFAULT}本身当做一个命令来执行,报错是肯定的。

 

相关文章:

  • 2022-12-23
  • 2021-12-02
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2022-02-01
  • 2022-01-01
  • 2021-11-16
  • 2021-09-22
  • 2021-09-13
相关资源
相似解决方案