make-w32
[Top][All Lists]
Advanced

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

Re: Problem with backslash/newline on DOS/Windows/OS2/etc.?


From: Paul D. Smith
Subject: Re: Problem with backslash/newline on DOS/Windows/OS2/etc.?
Date: Wed, 13 Jul 2005 08:31:01 -0400

%% "Earnie Boyd" <address@hidden> writes:

  eb> Would it remove the tab or change it to a space?

On a POSIX system it's removed.

  eb> As long as tab is converted to space then not converting \\n to a space
  eb> would be ok.

  eb> So:

  eb>         echo foo\
  eb>         bar

  eb> prints "foo bar" while

  eb>         echo foo\
  eb> bar

  eb> prints "foobar"

OK... if that's the way you want it I guess it's your port.  This is not
compatible with UNIX/POSIX, however, which means that makefiles written
on one system will have even less chance of working "out of the box" on
the other system.


My preference would be to keep this behavior identical between
systems (that is, remove the TAB and do not add a space)... one less
difference between ports is a good thing in my book.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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