re: CVS commit: src/usr.bin/ktruss

2012-03-12 Thread matthew green

 Module Name:  src
 Committed By: dyoung
 Date: Mon Mar 12 22:02:07 UTC 2012
 
 Modified Files:
   src/usr.bin/ktruss: makeerrnos.sh
 
 Log Message:
 Use 'sort -n -k 3' instead of 'sort -n +2' since the former is more
 portable.  The latter is not supported by Mac OS X Lion.

h, host sort(1) dependancy.  perhaps we need a TOOL_SORT.


.mrg.


Re: CVS commit: src/usr.bin/ktruss

2009-12-13 Thread Alan Barrett
On Fri, 11 Dec 2009, Masao Uebayashi wrote:
 Modified Files:
   src/usr.bin/ktruss: Makefile
 - AWK=${TOOL_AWK:Q} CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} \
 + ${GENCMD} ${.TARGET} \
 + AWK=${TOOL_AWK:Q} CPP=${CPP:Q} CPPFLAGS=${CPPFLAGS:Q} \

The extra quotes here look wrong.  ${VAR:Q} should do the correct
amount of quoting.  If you need two levels of quoting for some
reason that I don't see, then use ${VAR:Q:Q}, not ${VAR:Q}.

--apb (Alan Barrett)