K 10 svn:author V 3 knu K 8 svn:date V 27 2001-11-17T21:05:50.000000Z K 7 svn:log V 998 Add a bunch of generally used command macros: BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND, HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS And use shell (ash or ksh) builtins where available for efficiency: ECHO_CMD, FALSE, TEST, TRUE Grepping the ports tree, a few dozen ports already have FIND, STRIP_CMD and XARGS variables on their own and numerous ports use these commands without using macros. Some ports use FILE as a .for loop variable, but it doesn't matter anyway. Obtained from: NetBSD Remove the definition of ECHO because it is already defined in /usr/share/mk/sys.mk and leaving the useless definition may mislead developers. Add the following comment that would help: # ECHO is defined in /usr/share/mk/sys.mk and its value can either be # "echo", or "true" if the make flag -s is given. Use ECHO_CMD where # you mean the echo command. No response yet from: portmgr Clued by: Cyrille Lefevre (on ${ECHO}) END