首页 > 技术文章 > shell 按照空格拆分字符串

leowindy 2021-12-21 16:26 原文

str="xxx bbb yyy"
strs=( $str )

推荐阅读