bug-make
[Top][All Lists]
Advanced

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

[bug #39035] problem with blanks in continuation line in a recipe


From: anonymous
Subject: [bug #39035] problem with blanks in continuation line in a recipe
Date: Wed, 22 May 2013 08:35:09 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0

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

                 Summary: problem with blanks in continuation line in a recipe
                 Project: make
            Submitted by: None
            Submitted on: Wed 22 May 2013 08:35:08 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

See
[http://stackoverflow.com/questions/16659294/different-output-in-makefile-rule]

In the following Makefile


f = echo $(1)

t:
<TAB>   $(call f,"a \
            b"); \
        $(call f,"a \
            b")


 * there is only one TAB, at the beginning of line 4 (the first
   `call f')
 * no blanks at the end of the lines
 * > 8 blanks in line 5 (12 in the example, no problem if <= 8)

The output is


a b
a  b


The two calls are identical (except for the initial TAB). Why the output are
different ?





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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