Linux shell 截取字符串
str="1234567890" out=${str:1:5} echo ${out}
输出:
12345
参考:
https://blog.csdn.net/JineD/article/details/124196546