<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>shell</anon>
  </categories>
  <description>やっぱ、プログレスバーがないと動いているのか分からなくてイラっとくるよね。というので、シェルスクリプトでプログレスバーを簡単にできないかな、と思い書いてみた。 progress() { _bar=$1; _bar=${_bar:=.} while : do jobs %1 &gt; /dev/null 2&gt;&amp;1 [ $? = 0 ] || break echo -n ${_bar} sleep 0.1 done; } usage() { echo &quot;usage:$0 [command]&quot;; exit; } [ $# = 0 ] &amp;&amp; usage &quot;$@&quot; &amp; progress 上記コードをprogr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20110122%2F1295681180&quot; title=&quot; 仕事がダラけてしまったのでシェルスクリプトでプログレスバーやってみた - harry’s memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-01-22 16:26:20</published>
  <title> 仕事がダラけてしまったのでシェルスクリプトでプログレスバーやってみた</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20110122/1295681180</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
