🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #383

Inconsistency in make-3.54, $(shell command) != `command`

#383
From: Jim Meyering
Date: Tue, 29 Aug 1989 21:33
16 lines
792 bytes
% 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
Technical Details
Message-ID: <8908292133.AA15130@ai.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyering

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyering
From: meyering@CS.UTEXAS.EDU (Jim Meyering)
Newsgroups: gnu.utils.bug
Subject: Inconsistency in make-3.54, $(shell command) != `command`
Message-ID: <8908292133.AA15130@ai.cs.utexas.edu>
Date: 29 Aug 89 21:33:16 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: University of Texas at Austin CS Department
Lines: 16