これは非常に奇妙なwget
動作です。私はdebian 7.2を使用しています。
wget -r -O - www.blankwebsite.com
永久にハングします。つまり、ハングします。インターネットを検索していませんstrace
。私がこれを行う場合:
while read R
do
wget -r -O - www.blankwebsite.com
done < smallfile
1 行がsmallfile
含まれている場合、コマンドは数秒で終了します。
私も試してみました
wget -r -O - localhost/test.html
空のtest.html
ファイルでも同じ結果になります。私には、それはバグのように聞こえます。を変更または削除すると、
すべてが正常に実行されます。に出力を渡すので
使用しました。
誰かがそれを説明できますか?似たようなものを見たことがありますか?-O -
-O myfile
-r
-O -
grep