basename
常见例句
- Basename is quite a handy tool for chopping up strings.
Basename 是一个截断字符串的极简便工具。 - The statement CALLER=`basename $0` is used to get the name of the script being run.
使用语句 CALLER=`basename $0` 可以得到正在运行的脚本名称。 - While basename and dirname are great tools, there are times where we may need to perform more advanced string "chopping" operations than just standard pathname manipulations.
尽管 basename 和 dirname 是很好的工具,但有时可能需要执行更高级的字符串“截断”,而不只是标准的路径名操作。 返回 basename