echo 变量不加引号出错
摘要:result=`ps aux | grep “×××” |grep -v “×××”start_time=$(echo $result | awk '{print $9}')问题:发现输出是 start_time=“b”检查发现:$result的值正常情况第7个($7)应该是”?“ 或者"pts/x...
阅读全文
posted @ 2014-07-07 11:03
posted @ 2014-07-07 11:03