这个.sh文件应该怎么写?echo "lab run forerunner"lab run forerunnerecho "lab run spider"lab run spiderecho "lab run parser"lab run parserecho "lab run reactor"lab run reactorecho "lab run assembler"lab run assembler

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 06:46:05

这个.sh文件应该怎么写?echo "lab run forerunner"lab run forerunnerecho "lab run spider"lab run spiderecho "lab run parser"lab run parserecho "lab run reactor"lab run reactorecho "lab run assembler"lab run assembler
这个.sh文件应该怎么写?
echo "lab run forerunner"
lab run forerunner
echo "lab run spider"
lab run spider
echo "lab run parser"
lab run parser
echo "lab run reactor"
lab run reactor
echo "lab run assembler"
lab run assembler

这个.sh文件应该怎么写?echo "lab run forerunner"lab run forerunnerecho "lab run spider"lab run spiderecho "lab run parser"lab run parserecho "lab run reactor"lab run reactorecho "lab run assembler"lab run assembler
for i in forerunner spider parser reactor assembler
do
echo "lab run $i"
done