[gnu.utils.bug] Inconsistency in make-3.54, $

meyering@CS.UTEXAS.EDU (Jim Meyering) (08/30/89)

% cat Makefile
# Inconsistency in make-3.54, $(shell command) != `command`
# when the last character in the output of command is a NEWLINE.
#
foospace := $(shell echo foo)
foo := $(shell echo -n foo)

all:
	@echo $(foospace).suffix
	@echo $(foo).suffix
% make
foo .suffix
foo.suffix
% 

Jim Meyering      meyering@cs.utexas.edu