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.
wgetダイアログボックス( )の使用状況を表示したいgauge。
wget
gauge
このサイトで1つの解決策を見つけましたが、100%まで表示されていません。90%が経過すると、ダイアログがフリーズ/停止し、コードが終了します。
wgetのダイアログゲージを表示する方法はありますか?
URL="http://upload.wikimedia.org/wikipedia/commons/4/4e/Pleiades_large.jpg" wget "$URL" 2>&1 | \ stdbuf -o0 awk '/[.] +[0-9][0-9]?[0-9]?%/ { print substr($0,63,3) }' | \ dialog --gauge "Download Test" 10 100
エビのバージョン 0.12.0 でエラーが発生しました:
undefined method `border_lines=' for #<Prawn::Table::Cell::Text:0x007fe9454aaa70>
コード: