loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Bash set variable
  • 離開本站
你即將離開本站

並前往https://www.unix.com/unix-for-beginners-questions-and-answers/281721-how-do-i-assign-output-command-variable-within-loop-bash.html

How do I assign the output of a command to a variable within ...

In bash, set is not used to assign variables, be it interactively or in a script. Simply drop it. And, remove the spaces around the = sign.

確定! 回上一頁

查詢 「Bash set variable」的人也找了:

  1. bash set -x
  2. Bash variable substitution
  3. Bash variable
  4. Bash set environment variable
  5. Shell set variable
  6. Bash variable in variable
  7. Bash set -e
  8. bash +

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿