[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with awk in a make file



Dale Scheetz wrote:
> I have a make file with the line:
> 
> SVER := $(shell grep "usf-tools" ./logfile |awk 'NR == 1 { print $2 }')

Try $$2 instead of $2.



Reply to: