示例:从字符串"you-me-he"中获取he echo "you-me-he" |awk -F '[-]' '{print $NF}' 转载于:https://www.cnblogs.com/dakewei/p/9848176.html