<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>the_pleiades</author_name>
  <author_url>https://blog.hatena.ne.jp/the_pleiades/</author_url>
  <blog_title>アウトプットができる技術者に</blog_title>
  <blog_url>https://the-pleiades.hateblo.jp/</blog_url>
  <categories>
    <anon>Bash</anon>
  </categories>
  <description>list=&quot;a b c&quot; for v in ${list} do echo &quot;v=${v}&quot; done デリミタの変更 通常はスペース区切でループになるのを変更できる。 例えば、テキストファイルをループするときは改行コードにする。 #!/bin/sh echo &quot;1 b c&quot; &gt; tmp.txt echo &quot;2 b c&quot; &gt;&gt; tmp.txt IFS=$'\n' for line in `cat tmp.txt` do echo &quot;line=${line}&quot; done 高速化の話 bashでfor文回すとクッソ遅いです。というわけでTips コマンドじゃなくて、変数展開を使う for line…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthe-pleiades.hateblo.jp%2Fentry%2F2014%2F03%2F21%2F163804&quot; title=&quot;Bash 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>2014-03-21 16:38:04</published>
  <title>Bash for文</title>
  <type>rich</type>
  <url>https://the-pleiades.hateblo.jp/entry/2014/03/21/163804</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
