<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>Shell</anon>
  </categories>
  <description>■ はじめに 小ネタ。 CI/CD の処理の一環で、 テキストファイルにバージョンが指定されていて そのファイルを読み込んで、カウントアップした値を 処理で使いたいなっと思った時に、 IFS がでてきたので メモっておく 目次 【１】環境変数 IFS 【２】readコマンド 【３】サンプル 例１：バージョンをインクリメントする 例２：1行づつ読み込み出力する 【１】環境変数 IFS * Internal Filed Separator (内部ファイル区切り文字) * 区切り文字を指定として認識されている 【２】readコマンド read [variable1, …] * 標準入力から行を 1 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2024%2F01%2F24%2F234634&quot; title=&quot;【Shell】シェル ～ 環境変数 IFS ～ - プログラム の超個人的なメモ&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>2024-01-24 23:46:34</published>
  <title>【Shell】シェル ～ 環境変数 IFS ～</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2024/01/24/234634</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
