shell 截取字符串如何中间部分

shell 截取字符串如何中间部分

问题描述:

echo asdfg| sed -n '/s/,/f/ {//!p}'
网上找的?但用不了