[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(shell) strips CRLF
From: |
Paul D. Smith |
Subject: |
Re: $(shell) strips CRLF |
Date: |
Thu, 25 Apr 2002 16:37:05 -0400 |
%% "Bryan Miller" <address@hidden> writes:
bm> I have a makefile that performs a command like
bm> FOO := $(shell cat foo)
bm> where foo is a multiline ASCII text file. For some reason the
bm> $(shell) bit is stripping of the hex ODOA off the end of the lines
bm> so FOO is just one long line.
Yes. Think of $(shell ...) as make's answer to the shell's backticks
operation.
Having newlines in a make variable is not useful anyway.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- $(shell) strips CRLF, Bryan Miller, 2002/04/25
- Re: $(shell) strips CRLF,
Paul D. Smith <=
- Re: $(shell) strips CRLF, Eli Zaretskii, 2002/04/26
- RE: $(shell) strips CRLF, Bryan Miller, 2002/04/26
- RE: $(shell) strips CRLF, Paul D. Smith, 2002/04/26
- RE: $(shell) strips CRLF, Bryan Miller, 2002/04/26
- RE: $(shell) strips CRLF, Paul D. Smith, 2002/04/26
- RE: $(shell) strips CRLF, Bryan Miller, 2002/04/26
- RE: $(shell) strips CRLF, Paul D. Smith, 2002/04/26