make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $(shell) strips CRLF


From: Eli Zaretskii
Subject: Re: $(shell) strips CRLF
Date: Fri, 26 Apr 2002 10:25:27 +0300

> From: "Bryan Miller" <address@hidden>
> Date: Thu, 25 Apr 2002 12:51:40 -0700
> 
> I have a makefile that performs a command like
> 
> FOO := $(shell cat foo)
> 
> where foo is a multiline ASCII text file.  For some reason the
> $(shell) bit is stripping of the hex ODOA off the end of the lines
> so FOO is just one long line.

This is how $(shell) is supposed to behave, it's clearly documented
in the node "Shell Function" of the Make manual.

> Does anyone have any recommendations?

Please explain why removing the newlines is a problem in your case.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]