随笔分类 - Linux技术
编写shell脚本遇到的问题
摘要:运行shell脚本提示“syntax error near unexpected token for((i=0;i<$length;i++))”: 原因是因为Linux下的换行符是 \n 而你在secureCRT或者其他工具编写shell脚本的时候,使用的是window下的换行符:\r\n 所以需要
阅读全文
浙公网安备 33010602011771号