[Top][All Lists]
[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.
- $(shell) strips CRLF, Bryan Miller, 2002/04/25
- Re: $(shell) strips CRLF,
Eli Zaretskii <=
- 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
- RE: Exiting make upon error..., Bryan Miller, 2002/04/27
- Re: $(shell) strips CRLF, Eli Zaretskii, 2002/04/28