Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!PRINCETON.EDU!staelin From: staelin@PRINCETON.EDU (Carl Staelin) Newsgroups: gnu.utils.bug Subject: GNUMake-3.57 Message-ID: <9002270500.AA17896@notecnirp.Princeton.EDU> Date: 27 Feb 90 05:00:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 OS: MACH 2.5 (a 4.3 "derivative") HARDWARE: VAX 11/785 VERSION: GNUMake 3.57 BUG: $(shell ...) doesn't work as advertised in the manual. according to the manual, the output of the executed command is returned, except that carriage-return/linefeeds are replaced by a single space. When I tried using $(shell ...) with a command that returned multiple lines the only value returned was that on the last line. The rest of the output was lost. When I added my own filter to remove newlines using an awk script at the end of the pipe, it worked. Carl Staelin staelin@cs.princeton.edu