<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ebc_2in2crc</author_name>
  <author_url>https://blog.hatena.ne.jp/ebc_2in2crc/</author_url>
  <blog_title>全力で怠けたい</blog_title>
  <blog_url>https://ebc-2in2crc.hatenablog.jp/</blog_url>
  <categories>
    <anon>command</anon>
  </categories>
  <description>cat コマンドは複数のファイルだけじゃなくて標準入力も連結できるのをメモしておく。 cat コマンドはファイルの内容を標準出力に表示するのに使うことが多い気がするけど、たいがいは単一のファイルの内容を標準出力に出力してる気がする。 実は cat コマンドは man page を見ると concatenate and print files みたいに書いてあって、ファイルを表示したり複数のファイルを連結するのに使える。 複数のファイルを連結するのはこんな感じに使える。 # 1つめのファイル $ cat abc.txt a b c # 2つめのファイル $ cat xyz.txt x y z #…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Febc-2in2crc.hatenablog.jp%2Fentry%2F2021%2F06%2F18%2F214839&quot; title=&quot;cat コマンドはファイルと標準入力を連結したり連結する順番を指定できる。 - 全力で怠けたい&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>2021-06-18 21:48:39</published>
  <title>cat コマンドはファイルと標準入力を連結したり連結する順番を指定できる。</title>
  <type>rich</type>
  <url>https://ebc-2in2crc.hatenablog.jp/entry/2021/06/18/214839</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
