linux shell 一个条件判断语句的语法错误求助
if[-z$cur_fore_piece-o${cur_fore_piece:0:1}=""]运行时提示:process_log.sh:line4:[:missing`]...
if [ -z $cur_fore_piece -o ${cur_fore_piece:0:1} = " "]
运行时提示:process_log.sh: line 4: [: missing `]'
请问这是什么原因啊?应该怎样写? 展开
运行时提示:process_log.sh: line 4: [: missing `]'
请问这是什么原因啊?应该怎样写? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询