我想知道相当于
grep -oE '[^ ]+$' pathname
awk 或 sed。如果有人能回答并解释,那就太好了。谢谢你。
grep sed awk
awk ×1
grep ×1
sed ×1