-
[ unexpected operator
1)非数字变量与数字进行数值运算或比较 -
sh xxx.sh报错“Syntax error: "(" unexpected”
https://blog.csdn.net/weixin_33770878/article/details/92010786 -
syntax error: unexpected end of file
https://blog.csdn.net/qq_34039018/article/details/123691326
原因:在windows上编写shell脚本,可能会有一些缩进问题。
输入":set ff=unix"
分类: grammer(基本语法)
0 条评论