Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX.
[root@localhost ~]# basename /usr/include/stdio.h
stdio.h
[root@localhost ~]# basename /usr/include/stdio.h hehe
stdio.h
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |