[Top][All Lists]

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

Re: revisit: bare carriage return in status.m4 / configure

From: Steven R. Loomis
Subject: Re: revisit: bare carriage return in status.m4 / configure
Date: Mon, 27 Oct 2008 13:01:54 -0700
User-agent: Thunderbird (Macintosh/20080914)

Sorry if I was unclear. I am using "^M" here to represent the single byte with an ASCII value 0x0D / 13 decimal, carriage return. I was not referring to the escape sequence "^" plus "M". status.m4, and thus resulting 'configure' scripts, contain that byte, even though all lines are terminated with 0x0A / 10 decimal, linefeed.

tr would work (or an awk builtin? But, awk is what is being detected here) on ASCII-based systems. Non-ASCII-based systems would be easy enough to detect, though.


Thomas Dickey wrote:
On Mon, 27 Oct 2008, Steven R. Loomis wrote:

autoconf 2.63 has worked well for our project (icu), except for an issue with a bare carriage return (hereafter '^M') in status.m4 which shows up in resulting configure scripts. The line in question is:


If I am not misreading the git repository, the current development version also has such a line.

I found and read this discussion: but, most of the later discussion seemed to be about preferring \r in the output form over ^M.

That might not be portable enough (one workaround would be to use "tr" to construct the character from less troublesome text).

reply via email to

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