<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bubbles</author_name>
  <author_url>https://blog.hatena.ne.jp/bubbles/</author_url>
  <blog_title>Learning to be Me</blog_title>
  <blog_url>https://bubbles.hatenadiary.org/</blog_url>
  <categories>
    <anon>grep</anon>
  </categories>
  <description>find／grep／xargsコマンドを使いこなす 業務で楽するためのUNIXテクニック集「検索」編 (1/4)：CodeZine（コードジン） をみて思い出したけれど、 grep に --color オプションつけなくても、 export GREP_OPTIONS='--color=always' って .zshrc なり .bashrc にかいておくと、常に grep の結果に色がつく。でも、grep をパイプでつないでいるときに、色が邪魔してうまく動かなかったりする*1。そのときは、スクリプト内の grep に --color=never というオプションを渡してあげれば、色をつかなくで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbubbles.hatenadiary.org%2Fentry%2F20081210%2F1228918665&quot; title=&quot; grep --color について - Learning to be Me&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>2008-12-10 23:17:45</published>
  <title> grep --color について</title>
  <type>rich</type>
  <url>https://bubbles.hatenadiary.org/entry/20081210/1228918665</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
