sed 非贪婪匹配

sed -n 's#/[^/]*$##g'p

posted @ 2021-11-23 12:22  黑山老猫  阅读(309)  评论(0)    收藏  举报