ZhangZhihui's Blog  

2021年1月25日

摘要: dirname and basename are the tools you're looking for for extracting path components: $ export VAR='/home/pax/file.c' $ echo "$(dirname "${VAR}")" ; e 阅读全文
posted @ 2021-01-25 09:41 ZhangZhihuiAAA 阅读(83) 评论(0) 推荐(0) 编辑