[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #16505] Line-continuation backslashes are not stripped
From: |
Paul D. Smith |
Subject: |
[bug #16505] Line-continuation backslashes are not stripped |
Date: |
Wed, 3 May 2006 07:25:26 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1 |
Update of bug #16505 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
Eli's answer is generally correct. The NEWS and manual explain the change,
and this is not a bug in GNU make but rather a deliberate change (other
versions of make already work the new way).
However, one minor detail: the simplest change to get it to work is usually
NOT changing to double-quotes; that would involve (as Eli mentions) a _LOT_
of extra work quoting things and make the results confusing and difficult to
read and edit.
As recommended in the manual, the simplest change to get it to work is to put
the script into a make variable:
SCRIPT := 'print "this is my "; \
print "perl script";'
foo: ; perl -e $(SCRIPT)
because make variable settings continue to use the standard make
backslash/newline handling, rather than the shell backslash newline handling
used in the command scripts.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16505>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Eli Zaretskii, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped,
Paul D. Smith <=
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Paul D. Smith, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Eli Zaretskii, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Paul D. Smith, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Paul D. Smith, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/03
- [bug #16505] Line-continuation backslashes are not stripped, Eli Zaretskii, 2006/05/04
- [bug #16505] Line-continuation backslashes are not stripped, anonymous, 2006/05/04