<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zurvlk</author_name>
  <author_url>https://blog.hatena.ne.jp/zurvlk/</author_url>
  <blog_title>おふとんガレージ</blog_title>
  <blog_url>https://n5s5n.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>にゃーん🐾 hoge.sh #!/bin/sh array=(&quot;foo&quot; &quot;bar&quot;) #略 上記の様なシェルスクリプトを実行した際、以下のエラーが出てきた。 Shell script arrays Syntax error: “(” unexpectedgoogle先生に尋ねたところ、bashを指定して実行するようとのこと。 Shell script arrays Syntax error: “(” unexpected | Sany's Linux and Open Source Blog $ bash hoge.shこの方法で問題なく動作した。 原因とか /bin/shを見てみた所、da…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn5s5n.hatenablog.jp%2Fentry%2F2017%2F01%2F16%2F230541&quot; title=&quot;シェルスクリプトで「Shell script arrays Syntax error: “(” unexpected」が出た時のお話 - おふとんガレージ&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>2017-01-16 23:05:41</published>
  <title>シェルスクリプトで「Shell script arrays Syntax error: “(” unexpected」が出た時のお話</title>
  <type>rich</type>
  <url>https://n5s5n.hatenablog.jp/entry/2017/01/16/230541</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
