DEPRECATED_CHECK := $(shell grep "test454" tex/*.tex)
ifneq ($(DEPRECATED_CHECK),)
$(warning \test454 is deprecated. Use \test2 instead)
endif
輸出期抑制寄生第一部分當我運行此我得到:Makefile中
../common/Makefile.include:133: \test454 is deprecated. Use \test2 instead
這很好,但我還蠻想只有有:
\test454 is deprecated. Use \test2 instead
這是可能的?某種awk函數?我想我需要的東西:
@echo \text454 is deprecated ...
但我不知道如何讓我的MWE的基本目的這個工作,因爲它使抱怨缺少分隔符。
非常感謝
謝謝! 'info'完美運作。 –
你能否詳細說一下你的身邊?我不確定我是否遵循:我不是程序員,我使用LaTeX(我是一名技術作家)。我對Bash的瞭解並不棒。 –