hxing

拒绝思维懒惰,习惯深度思考,提升认知水平。

导航

12 2019 档案

Makefile中wildcard notdir patsubst 的介绍 ------ 转载
摘要:转载自: https://www.cnblogs.com/haoxing990/p/4629454.html 在Makefile规则中,通配符会被自动展开。但在变量的定义和函数引用时,通配符将失效。这种情况下如果需要通配符有效,就需要使用函数“wildcard”,它的用法是:$(wildcard P 阅读全文

posted @ 2019-12-15 21:52 hxing 阅读(349) 评论(0) 推荐(0)

sed 常用命令
摘要:以下是转载其他博主、帖子的,方便查找。 一、sed -i 就是直接对文本文件进行操作的。 sed -i 's/原字符串/新字符串/' /home/1.txt sed -i 's/原字符串/新字符串/g' /home/1.txt就是把 home目录下 1.txt 中 的 “原字符” 替换成 “新字符” 阅读全文

posted @ 2019-12-08 22:29 hxing 阅读(53586) 评论(0) 推荐(0)