loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Shell read file
  • 離開本站
你即將離開本站

並前往https://unix.stackexchange.com/questions/261664/how-to-read-a-file-into-a-shell-script-as-a-variable

How to read a file into a shell script as a variable? - Unix ...

You can use simple command substitution: variable=`cat text.txt` echo $variable. Or in bash: variable=$(cat text.txt). Same with:

確定! 回上一頁

查詢 「Shell read file」的人也找了:

  1. Shell read file
  2. Shell read file line by line
  3. Linux read file
  4. Shell script read file to array
  5. Shell script read file to variable
  6. Bash IFS= read
  7. Bash read
  8. Bash read file

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿