<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Windymelt</author_name>
  <author_url>https://blog.hatena.ne.jp/Windymelt/</author_url>
  <blog_title>Lambdaカクテル</blog_title>
  <blog_url>https://blog.3qe.us/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>linux</anon>
  </categories>
  <description>こういうコマンド呼び出しをすることがあると思う。 $ FOO=BAR ./command.sh ところでこのFOOは環境変数なのだろうか，それともただのシェル変数なのだろうか？ bashでFOO=BAR ./command.shみたいにコマンドの先頭に変数を指定することあると思うんだけど，この場合FOOは環境変数扱いになるんだろうか，それともただのシェル変数になる？(子プロセスに伝播するか気になっている)— WINDYMELT🌈💰🎨 (@windymelt) July 29, 2019 TL;DR 環境変数だよ 環境変数とシェル変数 そもそも環境変数とシェル変数についておさらい。 環境変数 環…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2019%2F07%2F29%2F174714&quot; title=&quot;bash: コマンドの先頭に付ける変数は環境変数になるのかただのシェル変数なのか - Lambdaカクテル&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>2019-07-29 17:47:14</published>
  <title>bash: コマンドの先頭に付ける変数は環境変数になるのかただのシェル変数なのか</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2019/07/29/174714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
