返回顶部
摘要: 取出路径基名和目录名 #echo "/etc/rc.d/init.d/functions" | egrep -o '[^/]+/?$'|egrep -o '^[^/]+' #echo "/etc/rc.d/init.d/functions" | egrep -o '[^/]+/?$' #等于 bas 阅读全文
posted @ 2020-08-06 13:13 九尾cat 阅读(270) 评论(0) 推荐(0) 编辑