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

t4015-diff-whitespace broken on cygwin's bash

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 13, 2006, 09:12 UTC
Message-ID
<81b0412b0610130212uca8371fg92db5081a8175cb3@mail.gmail.com>
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. The attached workaround worked for me, but is, as usual, too ugly to sign it off.

Next: Johannes Schindelin
Message 1 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.