<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suganoo</author_name>
  <author_url>https://blog.hatena.ne.jp/suganoo/</author_url>
  <blog_title>S氏はたまにblogを更新してます</blog_title>
  <blog_url>https://blog.suganoo.net/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>shell</anon>
  </categories>
  <description>シェルスクリプトで初歩的なミスをしてました。それに気づくまでに半日くらいかかってしまい すげー自己嫌悪でガッカリです。同じ轍を踏まないようにブログに書いておきます。 クイズ 下記のシェルスクリプトはエラーになりますが なんでだかわかりますか？ test.sh echo &quot;---- test script ----&quot; function ls_test() { PATH=$1 ls -l ${PATH} | grep &quot;hoge&quot; } ls_test &quot;.&quot; 実行結果 $ sh test.sh ---- test script ---- test.sh: line 5: ls: コマンドが見つかり…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.suganoo.net%2Fentry%2F2018%2F08%2F16%2F184518&quot; title=&quot;(俺は)まだシェルスクリプトでこんな初歩的なミスしてんの！？ - S氏はたまにblogを更新してます&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/s/suganoo/20180816/20180816183631.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-16 18:45:18</published>
  <title>(俺は)まだシェルスクリプトでこんな初歩的なミスしてんの！？</title>
  <type>rich</type>
  <url>https://blog.suganoo.net/entry/2018/08/16/184518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
