<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dullwhale</author_name>
  <author_url>https://blog.hatena.ne.jp/dullwhale/</author_url>
  <blog_title>dullwhaleのメモ帳</blog_title>
  <blog_url>https://dullwhale-public.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>commコマンドを使え commコマンドはdiffコマンドよりも賢くないが、CSVファイルの比較などにとても強い。 ユーザ一覧などを突合して棚卸しする際などに活躍する。 commコマンドに渡すファイルはあらかじめソートしておく必要がある。 # 引数で指定した左側のファイルにだけ存在する行を取得する comm -23 left.txt right.txt # 引数で指定した右側のファイルにだけ存在する行を取得する comm -13 left.txt right.txt # おまけ 積集合をとる comm -12 left.txt right.txt 具体例と解説 次のような2つのファイルがあると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdullwhale-public.hateblo.jp%2Fentry%2F2022%2F09%2F09%2F175136&quot; title=&quot;commコマンドを用いてファイルの行の差集合を得る - dullwhaleのメモ帳&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>2022-09-09 17:51:36</published>
  <title>commコマンドを用いてファイルの行の差集合を得る</title>
  <type>rich</type>
  <url>https://dullwhale-public.hateblo.jp/entry/2022/09/09/175136</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
