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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to