git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: t4015-diff-whitespace broken on cygwin's bash

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 13, 2006, 12:56 UTC
Message-ID
<Pine.LNX.4.63.0610131454490.14200@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<81b0412b0610130212uca8371fg92db5081a8175cb3@mail.gmail.com>
Hi,
On Fri, 13 Oct 2006, Alex Riesen wrote:
Show 8 quoted lines
> It seem to cut off the last CR from text-here. I.e.
> 
>  cat <<EOF >x
>  ...
>  CR at end^M
>  EOF
> 
> becomes just "CR at end" in the output file, that is ^M (aka CR) stripped.

I can confirm this problem. Strange. I always thought that "cat << EOF" was meant to copy verbatim. I think it is a bug in cygwin.

The only sensible workaround I can think of is to put the files into a directory t4015/ like t4013 does.

Ciao, Dscho

Previous: Alex Riesen
Message 2 of 2 in “t4015-diff-whitespace broken on cygwin's bash”
  1. Alex RiesenOct 13, 2006
  2. Johannes SchindelinOct 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.