autoconf-patches
[Top][All Lists]
Advanced

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

Re: carriage return line endings vs. literal ^M in status.m4


From: Ralf Wildenhues
Subject: Re: carriage return line endings vs. literal ^M in status.m4
Date: Sat, 5 Apr 2008 14:57:05 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Eric Blake wrote on Sat, Apr 05, 2008 at 02:40:23PM CEST:
>
> If CR is _not_ the EOL marker, then how would CR appear at the end of the
> line?

It could be part of the EOL marker: a dos file read in unix mode.

> Where are we doing input into $tmp/subs1.awk that could create a
> spurious CR if the platform does not use CR?

The configure.ac author may be.

> And if CR is not EOL, then do we really need to escape intermediate CR
> rather than treating it as a literal character?

Yes, for awk we do.  Some awks may throw an error otherwise, I forgot
which, but it was discussed on autoconf-patches.

Cheers,
Ralf




reply via email to

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