<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cruller</author_name>
  <author_url>https://blog.hatena.ne.jp/cruller/</author_url>
  <blog_title>cBlog</blog_title>
  <blog_url>https://yaritakunai.hatenablog.com/</blog_url>
  <categories>
    <anon>クロスプラットフォーム</anon>
  </categories>
  <description>bashの$'hoge'という記法はANSI-Cクォートと言うことを最近知った。こういう表記は検索しにくいと思うので、この呼び方を広めるために書き残しておく。 例えばechoでエスケープ文字を表示できる。 $ echo 'ab' ab $ echo 'a\nb' a\nb $ echo -e 'a\nb' a b $ echo $'a\nb' a b クォートはシングルクォートである必要がある。 zshのechoは-eがいらないみたいだが、シェルスクリプトは今でもbashで書くことが多いと思うので(？) 出典 www.gnu.org</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaritakunai.hatenablog.com%2Fentry%2Fansi-c-quoting&quot; title=&quot;bashの$&amp;#39;hoge&amp;#39;記法はANSI-Cクォートと言うらしい - cBlog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/cruller/20201201/20201201012225.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-29 21:28:38</published>
  <title>bashの$'hoge'記法はANSI-Cクォートと言うらしい</title>
  <type>rich</type>
  <url>https://yaritakunai.hatenablog.com/entry/ansi-c-quoting</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
