正文
增加 2 行删除 2 行
12345678910111213147 行未改动Usage: `bash *.sh` / `./*.sh````shecho "How to use Bash" > a.txtcat a.txt > b.txt# echo "How to use Bash?" > a.txtdiff a.txt b.txt -w -qif(($?!=0)); then echo 'failed'; exit 1; fifor i in *.indoj="${i%.in}.out"if [ -e $j ]; then echo $i $j; fi7 行未改动12345678910111213147 行未改动Usage: `bash *.sh` / `./*.sh````shset -eecho "How to use Bash" > a.txtcat a.txt > b.txt# echo "How to use Bash?" > a.txtdiff a.txt b.txt -w -qfor i in *.indoj="${i%.in}.out"if [ -e $j ]; then echo $i $j; fi7 行未改动