【发布时间】:2016-02-08 07:14:05
【问题描述】:
以下来自make文件的代码中@!的含义是什么?我检查了make manual,但没有找到答案:
check:
@echo "checking for tabs in shell scripts"
@! git grep -F ' ' -- '*.sh'
【问题讨论】:
-
这只是一个猜测,但我会说!是
shell函数的别名(在子shell 中调用git命令),@ 正在抑制该命令的输出。 -
这看起来可以通过简单的谷歌搜索来解决,但它不能。我给至少检查
make手册+1。 -
Make 部分在这里介绍:stackoverflow.com/questions/3477292/…
标签: makefile