摘要: 1. 在shell变量中切割字符串 shell中截取字符串的方法有很多中,${expression}一共有9种使用方法。${parameter:-word}${parameter:=word}${parameter:?word}${parameter:+word} 上面4种可以用来进行缺省值的替换。 阅读全文
posted @ 2016-10-24 17:04 囍。 阅读(20168) 评论(0) 推荐(0) 编辑