🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #422

Re: Make can't capture shell output in a variable

#422
From: Roland McGrath
Date: Fri, 15 Sep 1989 01:10
5 lines
584 bytes
You didn't read the manual.

There is a `shell' function:

	ARCH := $(shell /bin/arch)
Technical Details
Message-ID: <8909150111.AA14241@paris.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU
From: mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath)
Newsgroups: gnu.utils.bug
Subject: Re: Make can't capture shell output in a variable
Message-ID: <8909150111.AA14241@paris.Berkeley.EDU>
Date: 15 Sep 89 01:10:59 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 5