<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yebihara</author_name>
  <author_url>https://blog.hatena.ne.jp/yebihara/</author_url>
  <blog_title>Upgrading Myself</blog_title>
  <blog_url>https://yebihara.hatenadiary.org/</blog_url>
  <categories>
    <anon>仕事</anon>
  </categories>
  <description>実は僕はソフトウェアエンジニアなのです。というわけで、(たしか)初の技術ネタ。 Unixファイルシステム上に、次のようなソート済みのfile1とfile2があるとします。 $ cat file1 a b d e $ cat file2 b c d fそれぞれのファイルを集合、各行を要素と見なして、Unixコマンドのみで演算をしてみる。 file1とfile2を単純に足し算(結合)する場合はこう。 $ cat file1 file2 a b d e b c d fでも、これだと全然集合っぽくない。 和集合(file1∪file2) file1とfile2の少なくとも一方に含まれる要素を重複なしで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyebihara.hatenadiary.org%2Fentry%2F20090521%2F1242872809&quot; title=&quot;集合演算っぽくファイルの足し算と引き算をする - Upgrading Myself&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>2009-05-21 11:26:49</published>
  <title>集合演算っぽくファイルの足し算と引き算をする</title>
  <type>rich</type>
  <url>https://yebihara.hatenadiary.org/entry/20090521/1242872809</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
