📌  相关文章
📜  bash 通过分隔符拆分管道输出 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:43.637000             🧑  作者: Mango

代码示例1
#Just use awk specifyingj your own delimiter and which substring to use.
echo 'first delimiter second' | awk -F 'delimiter' '{ $print 0 }'
first 
#0 means first substrin, 1 second, 2 thrird and so on