是否可以在 awk 中执行此操作?:
echo "eoe" | sed -nr '/^(.*)o\1$/p'
sed awk regular-expression
awk ×1
regular-expression ×1
sed ×1