小编Dan*_*nte的帖子

意外标记“完成”附近的语法错误

我试图让这个 while 循环(使用 nano)从这个 URL 下载一些网站,但我不断收到错误“意外标记‘完成’附近的语法错误”:

while read <FIRST-LAST> do
        echo FIRST-LAST
        curl -O https://www.uoguelph.ca/arts/history/people/FIRST-LAST
done < formatted_history.txt
Run Code Online (Sandbox Code Playgroud)

shell bash shell-script

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

bash ×1

shell ×1

shell-script ×1