原文: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