<?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>
    <anon>perl</anon>
  </categories>
  <description>★追記があります。 クラウド時代なので，JSONを環境変数に入れて渡したいということがあると思います。そしてそれをファイルに保存したいということがあると思います。 こういうJSONがあるとします。 $ FOO='{&quot;foo&quot;:&quot;b\na\nr&quot;}' アプリケーションの都合でFOOをファイルに保存しないといけない！あなたはちゃんとできますか？ $ echo $FOO &gt; foo.txt $ cat foo.txt {&quot;foo&quot;:&quot;b a r&quot;} 〜完〜: あなたはJSONのパースに失敗する。 おさらい シェルは変数のスペースを展開してくれる FOO=&quot;a b c&quot;のとき・・・ &quot;$FOO&quot;と書く…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2020%2F01%2F10%2F132219&quot; title=&quot;シェルスクリプトで環境変数の中身を壊すことなくファイルに保存する - 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>2020-01-10 13:22:19</published>
  <title>シェルスクリプトで環境変数の中身を壊すことなくファイルに保存する</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2020/01/10/132219</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
