<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ike-dai</author_name>
  <author_url>https://blog.hatena.ne.jp/ike-dai/</author_url>
  <blog_title>ike-dai's blog</blog_title>
  <blog_url>https://ike-dai.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>grepコマンドを利用して複数語のor検索を実施する方法。&quot;-e&quot;オプションを使うと実現できます。 grep -e 単語 -e 単語 -e 単語 ・・・ ファイル名 とすると-eオプションで指定したどれかの単語にヒットした行を出力してくれます。&quot;-e&quot;オプションの意味は、-eの後ろの語をパターンとして認識させることです。 例えば、-で始まる語を検索する場合などは以下のようにすると検索できます。 $ cat test.txt 2010-09-09 test test 2010-09-10 20100910 $ grep -e -09 test.txt 2010-09-09 2010-09-10</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fike-dai.hatenablog.com%2Fentry%2F20100909%2F1284037532&quot; title=&quot;grepで複数語のor検索 - ike-dai&amp;#39;s blog&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-09-09 22:05:32</published>
  <title>grepで複数語のor検索</title>
  <type>rich</type>
  <url>https://ike-dai.hatenablog.com/entry/20100909/1284037532</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
