loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • shell script變數字串
  • 離開本站
你即將離開本站

並前往https://www.ptt.cc/bbs/LinuxDev/M.1232172161.A.106.html

[問題] 如何讓Shell Script裡的函數return 字串? - 看板LinuxDev

在Bash 裡面傳出string 並不是不可能的, 只是不能用return 的方式. ... 變數傳值到外面去, 舉例來說, 以下的函式func 會用date 產生的日期字串傳出來.

確定! 回上一頁

查詢 「shell script變數字串」的人也找了:

  1. shell script字串相加
  2. shell script變數指令
  3. shell script字串處理
  4. shell script字串包含
  5. shell script字串比對
  6. shell script變數中的變數
  7. shell script參數
  8. shell script變數宣告

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿