<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>argius</author_name>
  <author_url>https://blog.hatena.ne.jp/argius/</author_url>
  <blog_title>argius note</blog_title>
  <blog_url>https://argius.hatenablog.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>今日は久々にPerlが大活躍したので何か書きます。 やっぱりあらゆるUnix-like環境でデフォなのは強い。 そういえば、Perlには組み込みのuniqって関数は無いんですね。今までやったことが無くて気づかなかった。もちろんモジュールを使えば簡単にできますが、私のところではデフォ環境での場合が基本ですので... 例として、コマンドラインパラメータのリストを一意リスト(コレクション型で言うところのset)にするコマンド&quot;uniq.pl&quot;を作ります。 今回書いたスクリプトでは、「ユニークのリストをソートしてカンマ区切りにする」だったので、この仕様で行きます。区切りはスペースで。 # バージョン1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fargius.hatenablog.jp%2Fentry%2F20110624%2F1308919663&quot; title=&quot;リストから一意のリストを得る（uniqコマンドを作る＋余談） - argius note&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>2011-06-24 21:47:43</published>
  <title>リストから一意のリストを得る（uniqコマンドを作る＋余談）</title>
  <type>rich</type>
  <url>https://argius.hatenablog.jp/entry/20110624/1308919663</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
