What does "@" mean in a makefile?

We use @echo "do..." to print only do... But who can tell me what this condition means?

 COUNT=$(shell ls | wc -l ) 

Then

 @COUNT=$( shell ls | grep abc | wc -l ) 

What is the average of the second?

+4
source share
2 answers

Disables the printing of an executable command line. Any output from the command itself still appears. See this previous question or see the Makefile Link .

+7
source

It will hide the command line output at runtime. Typically, each command when executing a rule is printed to the console. This will suppress this output.

+3
source

Source: https://habr.com/ru/post/1495746/


All Articles