linux – unix shell中echo和@echo的区别
发布时间:2020-12-13 19:14:10 所属栏目:Linux 来源:网络整理
导读:在unix世界中,“echo”和“@echo”有什么区别? 我甚至不能谷歌特殊字符. 例如, 使用here 解决方法 那是一个 Makefile-specific thing;它与shell脚本无关. 以@开头的食谱不会回显命令.也就是说,使用Makefile foo: echo foo 你得到 $make foo # -- this is me
在unix世界中,“echo”和“@echo”有什么区别?
我甚至不能谷歌特殊字符. 例如, 解决方法
那是一个
Makefile-specific thing;它与shell脚本无关.
以@开头的食谱不会回显命令.也就是说,使用Makefile foo: echo foo 你得到 $make foo # <-- this is meant to be the command you enter in the shell echo foo foo 而使用Makefile foo: @echo foo 它是 $make foo foo (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |