Linux分割字符串

$ echo "apple,banana,orange" | awk -F ',' '{print $2}'

banana

posted @ 2023-07-27 16:46  ahuo  阅读(163)  评论(0编辑  收藏  举报