Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変数 VAR の内容を一覧表示する方法
( VAR="foo"; ) & echo $VAR; # I need to get "foo" ?
どうもありがとうございます
サブシェル内には何もアクセスできません。値を取得するには、サブシェルとメイン シェル間の IPC など、何らかの形式の通信が必要です。