shell脚本排错
#!/bin/bash
for i in $(seq 4 17)
do
for j in $(seq 0 2)
do
~/SatPlan2006/include/bin/satplan
-domain ~/SatPlan2006/Template/block/domain.pddl
-problem ~/SatPlan2006/Template/block/proBLOCKS-'$i'-'$j'
-solver siege>>result-'$i'-'$j
~/SatPlan2006/include/bin/satplan_new
-domain ~/SatPlan2006/Template/block/domain.pddl
-problem ~/SatPlan2006/Template/block/proBLOCKS-'$i'-'$j'
-solver siege>>result-'$i'-'$j'_new
echo "proBLOCKS"-'$i'-'$j'>>result_block
awk $1=="Real"{print $4 } result-'$i'-'$j'>>result_block
echo " ">>result-block
awk $1=="Real"{print $4 } result-'$i'-'$j'_new>>result_block
echo "\n">>result-block
done
done
问题描述:
./command: line 19: unexpected EOF while looking for matching `''
./command: line 23: syntax error: unexpected end of file
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论