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
!