staelin@PRINCETON.EDU (Carl Staelin) (02/27/90)
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