<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Megumi221</author_name>
  <author_url>https://blog.hatena.ne.jp/Megumi221/</author_url>
  <blog_title>理想のユーザ・インターフェイスを求めて</blog_title>
  <blog_url>https://ideal-user-interface.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>スクリプト処理</anon>
  </categories>
  <description>ファイル圧縮するコマンドのgzipとbzip2のオプション 「-c」：出力を標準出力に書き出す。元のファイルは変更しない。 「-d」：圧縮したものを伸長する。 これらを使うと、gzipやbzip2で圧縮したファイルの中身を標準出力に書き出すことができる。 $ gzip -dc test.gz $ bzip2 -dc test.bz2テキストファイルをgzip、bzip2したものなら、普通にエディタで開いても中味は見ることができる。でも、シェルスクリプトの中で圧縮したファイルの文字列処理したいときなどは、「-dc」オプションは便利だ。ファイルを解凍しないので、手間を省くことができる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fideal-user-interface.hatenablog.com%2Fentry%2F20120111%2F1326284537&quot; title=&quot; 圧縮したファイルの中身を書き出す方法 - 理想のユーザ・インターフェイスを求めて&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>2012-01-11 21:22:17</published>
  <title> 圧縮したファイルの中身を書き出す方法</title>
  <type>rich</type>
  <url>https://ideal-user-interface.hatenablog.com/entry/20120111/1326284537</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
