<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wyukawa</author_name>
  <author_url>https://blog.hatena.ne.jp/wyukawa/</author_url>
  <blog_title>wyukawa's diary</blog_title>
  <blog_url>https://wyukawa.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>最近知ったgrepコマンドの-Aオプションと-Bオプションと、時々、-Cオプションについてメモっておく。例えば設定ファイルを見てHDFSのブロックサイズを知りたいとします。hdfs-site.xmlをdfs.block.sizeでgrepすると下記のようになります。 $ grep dfs.block.size hdfs-site.xml &lt;name&gt;dfs.block.size&lt;/name&gt;や、知りたいのはその1行後なんだけど、、、って時は、-Aオプションを使います。うむデフォルトの64MBですね。 $ grep -A 1 dfs.block.size hdfs-site.xml &lt;name&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwyukawa.hatenablog.com%2Fentry%2F20130621%2F1371819706&quot; title=&quot;grepコマンドの-Aオプションと-Bオプションと、時々、-Cオプション - wyukawa&amp;#39;s diary&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-06-21 22:01:46</published>
  <title>grepコマンドの-Aオプションと-Bオプションと、時々、-Cオプション</title>
  <type>rich</type>
  <url>https://wyukawa.hatenablog.com/entry/20130621/1371819706</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
