<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirose31</author_name>
  <author_url>https://blog.hatena.ne.jp/hirose31/</author_url>
  <blog_title>（ひ）メモ</blog_title>
  <blog_url>https://hirose31.hatenablog.jp/</blog_url>
  <categories>
    <anon>bash</anon>
  </categories>
  <description>若干ハマったのでメモ。bash で配列を使うにはこんな感じ。 declare -a aaa aaa=('foo' 'bar' 'baz') echo -n &quot;# ${#aaa[@]} : &quot; declare -p aaa ↓ # 3 : declare -a aaa='([0]=&quot;foo&quot; [1]=&quot;bar&quot; [2]=&quot;baz&quot;)' ほんで、bashで配列の要素を削除するにはunsetすればいい。 unset name[subscript] destroys the array element at index subscript. http://www.linuxcommand.org/ma…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhirose31.hatenablog.jp%2Fentry%2F20070612%2F1181654210&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>2007-06-12 22:16:50</published>
  <title> 配列の要素を削除する方法</title>
  <type>rich</type>
  <url>https://hirose31.hatenablog.jp/entry/20070612/1181654210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
