<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>bashの使い方</anon>
    <anon>bash</anon>
  </categories>
  <description>bash ではC言語スタイルのfor ループが使えます。 bash のループの例を調べると seq などが散見されるのですが、C言語スタイルのおなじみの for ループが使えます。 え？とおもった人はbash のヘルプをもう一度見てみてください ヘルプの読み方 bash$ help 'for ((' C style for ループの例 これはもう、見たほうが早いですよね。 for (( idx=0 ; idx&lt;10; idx++ )) ; do echo $idx; done ポイント このポイントは、丸括弧を２つ書く、ダブルパーレンを利用する点にあります。 &quot;(())&quot; のdouble Pa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F12%2F21%2F183117&quot; title=&quot;bashでC言語スタイルforループ - それマグで！&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>2016-12-21 18:31:17</published>
  <title>bashでC言語スタイルforループ</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2016/12/21/183117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
