原创 字符提取

shell中截取字符串的方法有很多中,${expression}一共有9種使用方法。${parameter:-word}${parameter:=word}${parameter:?word}${parameter:+word} 上面4種可