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/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make