shell中有时会用到多行注释,一种时vim的快捷方式,我不太熟悉,一种是如下 :<<!   ......!

使用:

:<< !
.......
!

 

比如:

:<< !
echo modify gradle.properties to faster
echo "org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 " >> gradle.properties
echo "org.gradle.parallel=true" >> gradle.properties
echo "org.gradle.configureondemand=true " >> gradle.properties
echo "org.gradle.daemon=true " >> gradle.properties
!

相关文章:

  • 2021-09-12
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-16
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2021-11-12
  • 2021-05-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案