Jim Meyering wrote: > Considering the numerous uses of sed and echo (in place of cp) > I preferred to be consistent. But I agree that it'd be better > not to pollute the build output with output that is 99% irrelevant. > So, how about prefixing each new line with "@", so make doesn't print them. > E.g., > > sys/select.h: > test -d sys || mkdir sys > @rm -f [EMAIL PROTECTED] $@ > echo '#include <sys/socket.h>' >[EMAIL PROTECTED] > @chmod a-w [EMAIL PROTECTED] > mv [EMAIL PROTECTED] $@
My very strong preference is to not hide commands. Disk space (log files) is cheap. I can filter out chaff much more easily than I can reconstruct commands that are not in the log. No hidden commands without a good reason for hiding the command. Please. :) Cheers - Bruce