Shell

shell字符串的截取

shell字符串的截取的问题: 一、Linux shell 截取字符变量的前8位,有方法如下:   1.expr substr “$a” 1 8   2.echo $a|awk ‘{print sub...
阅读全文