这个.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/12/20 06:12:31
这个.sh文件应该怎么写?echo"labrunforerunner"labrunforerunnerecho"labrunspider"labrunspiderecho"labrunparser"l

这个.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