「Transwiki:Bash Shell Scripting」の版間の差分

削除された内容 追加された内容
Fu7mu4 (トーク | 投稿記録)
Fu7mu4 (トーク | 投稿記録)
799 行
===範囲・スコープ===
 
Bashの変数のスコープに不規則な点をいくつか見てきました。要約すると以下のようになります。
We have now seen some of the vagaries of variable scope in Bash. To summarize what we've seen so far:
 
* Regular Bash variables are scoped to the shell that contains them, including any subshells in that shell.