<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ihcomega</author_name>
  <author_url>https://blog.hatena.ne.jp/ihcomega/</author_url>
  <blog_title>よこなのへたのよこずき</blog_title>
  <blog_url>https://ihcomega.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>あるファイルが exampleという名前で 中身が key1=value1 key2=value2 key3=value3 の時 . /path/to/example （↑小さいけど先頭にピリオドがあるよ！） って実行すれば key1, key2, key3はシェル変数として登録されることを知った。 $ echo $key1 value1 $ echo $key2 value2 $ echo $key3 value3 . はカレントシェルでファイルの中身を実行するという意味らしい。なので、もちろん用途はシェル変数の作成に留まらずコマンドが実行できる。 つまりsourceコマンドと同じ役割なんだ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fihcomega.hatenadiary.com%2Fentry%2Fdot-command&quot; title=&quot;key=value をファイルに羅列しシェル変数を一気に適用する（ . ドットコマンドを使う） - よこなのへたのよこずき&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>2023-01-25 23:00:00</published>
  <title>key=value をファイルに羅列しシェル変数を一気に適用する（ . ドットコマンドを使う）</title>
  <type>rich</type>
  <url>https://ihcomega.hatenadiary.com/entry/dot-command</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
