<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pinkumohikan</author_name>
  <author_url>https://blog.hatena.ne.jp/pinkumohikan/</author_url>
  <blog_title>モヒカンメモ</blog_title>
  <blog_url>https://blog.pinkumohikan.com/</blog_url>
  <categories>
    <anon>Linux/Unix</anon>
    <anon>エンジニアリング</anon>
    <anon>シェルスクリプト</anon>
  </categories>
  <description>▼ アイキャッチ画像は適当です ミドルウェアなどのバージョンアップやマイグレーションなどの際に、「今の設定ってデフォルトからどこがどう変わってるんだっけ？」って気になることありますよね？ でも、単純に diff コマンドで差分を出すだけだと改行やコメントが邪魔をして差分が分かりづらいですよねー。キレそう。 そういうときに使えるおまじないを教えます。 ドン diff &lt;(grep -v '^;' setting-a.ini | grep -v '^$') &lt;(grep -v '^;' setting-b.ini | grep -v '^$') (空行や ; で始まるコメント行を除いた結果をdif…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pinkumohikan.com%2Fentry%2Fshow-diff-without-blank-line-and-comment-line&quot; title=&quot;2つの設定ファイルから空行やコメントを除いていい感じにdiffを表示するプチテクニック - モヒカンメモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/pinkumohikan/20180212/20180212222252.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-13 20:32:23</published>
  <title>2つの設定ファイルから空行やコメントを除いていい感じにdiffを表示するプチテクニック</title>
  <type>rich</type>
  <url>https://blog.pinkumohikan.com/entry/show-diff-without-blank-line-and-comment-line</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
