bug-make
[Top][All Lists]
Advanced

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

[bug #18561] Why backslash line continuation introduce an extra space


From: anonymous
Subject: [bug #18561] Why backslash line continuation introduce an extra space
Date: Wed, 20 Dec 2006 05:32:29 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon; .NET CLR 1.1.4322)

URL:
  <http://savannah.gnu.org/bugs/?18561>

                 Summary: Why backslash line continuation introduce an extra
space
                 Project: make
            Submitted by: None
            Submitted on: Wednesday 12/20/06 at 05:32 UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: Any
           Fixed Release: None

    _______________________________________________________

Details:

For GNUmake 3.81 and 3.80:

For a makefile like this:

{code}
nlap = a\n\
b

$(warning $(nlap))

nlappend:
        echo -e "$(nlap)" > out.dat
{code}

The generated out.dat has the following content(represented in hex):

========
61 0A 20 62 0A
========

You can see a space introduced in the value of `nlap'. Is this by design? I
hope it's not -- but a bug, since the user wants only line-continuation, not
an extra space. If he wants an extra space, he can add it himself.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18561>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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