Aj*_*ngh 1 bash shell
我有1000行shell脚本和所有kepywords
if/else,while,HERE文件
任何人都可以告诉格式化脚本的最佳方法,因此脚本看起来很好.
我在vim中尝试VG =但也取代了HERE文档内容.
Dan*_*Lin 6
检查这个https://github.com/mvdan/sh,这是带有两个空格的缩进的示例命令
shfmt -i 2 -w yourscript
归档时间:
8 年,4 月 前
查看次数:
4123 次
最近记录:
8 年,1 月 前