<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>macOS X</anon>
  </categories>
  <description>このコマンドは、どの brew ？ which brew package contains this command ? な疑問文に答えてほしい。 なんとかした。 function which-brew () { ! type $@ &amp;&gt;&gt; /dev/null &amp;&amp; { echo $@ not found.; return 1 ; } [[ $(realpath $( which $@) ) =~ Cellar/([^\/]+) ]] ; (( ${#BASH_REMATCH[@]} &gt; 1 )) &amp;&amp; echo ${BASH_REMATCH[1]}; } 解決！ これで、このコマンドはどのb…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2017%2F04%2F06%2F161800&quot; title=&quot;which じゃなくて which brew が欲しい。 - それマグで！&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>2017-04-06 16:18:00</published>
  <title>which じゃなくて which brew が欲しい。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2017/04/06/161800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
