<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>snaka72</author_name>
  <author_url>https://blog.hatena.ne.jp/snaka72/</author_url>
  <blog_title>今日もスミマセン。</blog_title>
  <blog_url>https://snaka72.hatenadiary.org/</blog_url>
  <categories>
    <anon>bash</anon>
  </categories>
  <description>いちいちfind . -name &quot;xxx&quot; | xargs grep yyyと入れるのが面倒なので、関数定義する。 function xgrep { find . -name &quot;$2&quot; | xargs grep $1 }これを .bashrc などに書いておくと、普通のgrepのように $ xgrep yyy xxxで、サブディレクトリも対象にgrepしてくれる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsnaka72.hatenadiary.org%2Fentry%2F20100322%2F1269252701&quot; title=&quot;カレントディレクトリ配下の全てのファイル（サブディレクトリも含めて）を対象にgrepする関数を定義する - 今日もスミマセン。&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>2010-03-22 19:11:41</published>
  <title>カレントディレクトリ配下の全てのファイル（サブディレクトリも含めて）を対象にgrepする関数を定義する</title>
  <type>rich</type>
  <url>https://snaka72.hatenadiary.org/entry/20100322/1269252701</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
