Alternative for basename using grep to extract file name

替代基本名称使用grep来提取文件名
.

0

linux命令:fileName() { echo "$1" | grep -o "[^/]*$"; } } "[^/]*$"; -o grep | "$1" echo { fileName() fileName() { echo "$1" | grep -o "[^/]*$"; }rootopen.com
linux命令:fileName() { echo "$1" | grep -o "[^/]*$"; } } "[^/]*$"; -o grep | "$1" echo { fileName() fileName() { echo "$1" | grep -o "[^/]*$"; }rootopen.com
xwfw 2018-02-14 00:41:48
输出
替代方案1 Alternative for basename using grep to extract file name

替代基本名称使用grep来提取文件名.

linux命令:fileName(){ echo ${1##*/}; } } ${1##*/}; echo fileName(){ fileName(){ echo ${1##*/}; }rootopen.com
linux命令:fileName(){ echo ${1##*/}; } } ${1##*/}; echo fileName(){ fileName(){ echo ${1##*/}; }rootopen.com
.
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令