<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizti</author_name>
  <author_url>https://blog.hatena.ne.jp/mizti/</author_url>
  <blog_title>午睡二時四十分</blog_title>
  <blog_url>https://mizti.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>プログラミングの作業をしていると、一旦コンパイルや実行を行なって結果を確認したくなることがあります。C++やJavaであればコンパイル -&gt; 実行が必要ですし、rspecのようなコマンドでテストを行いたい場合もあると思います。その度にエディタを終了-&gt; (コンパイル実行 -&gt;) 実行 -&gt; またエディタを起動とかするのはとても手間です。（エディタ内でコンパイルとかするもありますが、それでも何らかのコマンドが必要です）そこで、特定のファイルを監視下に入れてそのファイルの更新があったら指定されたコマンドを実行するようなシェルスクリプトを作ってみました。 #!/bin/sh if [ $# -ne …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmizti.hatenablog.com%2Fentry%2F2013%2F01%2F27%2F204343&quot; title=&quot;指定したファイルの更新があったらコマンドを自動実行するシェルスクリプト - 午睡二時四十分&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>2013-01-27 20:43:43</published>
  <title>指定したファイルの更新があったらコマンドを自動実行するシェルスクリプト</title>
  <type>rich</type>
  <url>https://mizti.hatenablog.com/entry/2013/01/27/204343</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
