原文:shell切割字符串成數組

...

2020-06-20 09:57 0 745 推薦指數:

查看詳情

shell 從變量中切割字符串

1.  在shell變量中切割字符串 shell中截取字符串的方法有很多中,${expression}一共有9種使用方法。${parameter:-word}${parameter:=word}${parameter:?word}${parameter:+word} 上面4種可以用來進行 ...

Tue Oct 25 01:04:00 CST 2016 0 15024
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM