Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 lynx 将文本文件中的 URL 列表全部转储到 1 个文件中?
我试过这个但没有运气
lynx -dump -width=1000 list.txt > dumped.txt
我也试过这个,但它没有用,只是替换了看起来的文件
cat list.txt |while read url do lynx -dump -width=1000 "$url" > dumped.txt done
我最终这样做了。不确定它是否是最好的,但它确实有效
cat list.txt |while read url do lynx -dump -width=1000 "$url" | cat >> dumps.txt done