[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backslash does not simply continue line?
From: |
David Boyce |
Subject: |
Re: backslash does not simply continue line? |
Date: |
Tue, 6 Mar 2012 23:05:14 -0500 |
On Tue, Mar 6, 2012 at 4:15 PM, Paul Smith <address@hidden> wrote:
> The problem is that this is not really useful. Very often you don't
> want to remove ALL space. You just want to be able to split a long line
> without introducing an extraneous space (but still preserving the
> non-extraneous ones).
Ah, good point. Maybe the following is a useful workaround?
# Note: 2 blank lines between define/endef
define \n
endef
define v1
line 1
line 2
line 3
endef
$(info v1=$(v1))
v2 := $(subst $(\n),,$(v1))
$(info v2=$(v2))
all: ;@:
- backslash does not simply continue line?, Mark Galeck (CW), 2012/03/03
- Re: backslash does not simply continue line?, Paul Smith, 2012/03/03
- RE: backslash does not simply continue line?, Mark Galeck (CW), 2012/03/03
- RE: backslash does not simply continue line?, Paul Smith, 2012/03/04
- RE: backslash does not simply continue line?, Brian R Cowan, 2012/03/06
- RE: backslash does not simply continue line?, Mark Galeck (CW), 2012/03/06
- RE: backslash does not simply continue line?, Paul Smith, 2012/03/06
- Re: backslash does not simply continue line?, David Boyce, 2012/03/06
- Re: backslash does not simply continue line?, Paul Smith, 2012/03/06
- Re: backslash does not simply continue line?,
David Boyce <=