网站介绍:文章浏览阅读794次。#!/bin/bash#arr=( "a" "b" "**" "c")#for i in ${arr[@]}#do# echo "$i"#doneline="a b ** c"var1=`echo "$line"|awk -F ' ' '{print $3}'`echo "$var1"_shell循环分割一个字符串
- 链接地址:https://blog.csdn.net/andyonlines/article/details/109015295
- 链接标题:shell 分割字符串_shell循环分割一个字符串-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:259
- 网站标签:shell循环分割一个字符串