basename.1

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 1 代码 · 共 30 行

1
30
字号
.TH BASENAME 1 .SH NAMEbasename \- strip filename affixes.SH SYNOPSIS.B basenamestring [ suffix ].SH DESCRIPTION.I Basenamedeletes any prefix ending in `/' and the.I suffix,if present in.I string,from.I string,and prints the result on the standard output.It is normally used inside substitution marks \`\ \`in shell procedures..PPThis shell procedure invoked with the argument.I /usr/src/cmd/cat.ccompiles the named file and moves the output to.I catin the current directory:.IP "" 15ncc $1.brmv a.out \`basename $1 .c\`.SH "SEE ALSO"sh(1)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?