<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Windymelt</author_name>
  <author_url>https://blog.hatena.ne.jp/Windymelt/</author_url>
  <blog_title>Lambdaカクテル</blog_title>
  <blog_url>https://blog.3qe.us/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>shufコマンドというのがあるのを最近知った．名前の通り，行をシャッフルして出力するコマンド． $ shuf 1 2 3 4 5 ^D 3 2 4 5 1 はい． ファイルの中からランダムな3件を取り出す shuf hoge.txt | head -n3 便利．というかhead使わないこともできて，普通はこちらでよさそう: shuf -n3 hoge.txt POSIX好きですか ちなみにshufはPOSIX標準に入っていなくて，coreutilsに入っている．coreutilsはだいたいのディストリビューションに入っているので，そんなに困ることはなさそう． POSIXが好きな人はsort -…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2018%2F03%2F29%2F162649&quot; title=&quot;shufコマンド便利 - Lambdaカクテル&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>2018-03-29 16:26:49</published>
  <title>shufコマンド便利</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2018/03/29/162649</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
