{"thread":{"id":"5914","subject":"t4015-diff-whitespace broken on cygwin's bash","startedAt":"2006-10-13T09:12:31Z","lastAt":"2006-10-13T12:56:42Z","messageCount":2,"participants":["Alex Riesen","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"28719","messageId":"81b0412b0610130212uca8371fg92db5081a8175cb3@mail.gmail.com","threadId":"5914","inReplyTo":null,"subject":"t4015-diff-whitespace broken on cygwin's bash","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2006-10-13T09:12:31Z","receivedAt":"2006-10-13T09:12:31Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"It seem to cut off the last CR from text-here. I.e.\n\n  cat <<EOF >x\n  ...\n  CR at end^M\n  EOF\n\nbecomes just \"CR at end\" in the output file, that is ^M (aka CR) stripped.\nThe attached workaround worked for me, but is, as usual, too ugly to\nsign it off.\n"},{"id":"28723","messageId":"Pine.LNX.4.63.0610131454490.14200@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"5914","inReplyTo":"81b0412b0610130212uca8371fg92db5081a8175cb3@mail.gmail.com","subject":"Re: t4015-diff-whitespace broken on cygwin's bash","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-10-13T12:56:42Z","receivedAt":"2006-10-13T12:56:42Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Fri, 13 Oct 2006, Alex Riesen wrote:\n\n> It seem to cut off the last CR from text-here. I.e.\n> \n>  cat <<EOF >x\n>  ...\n>  CR at end^M\n>  EOF\n> \n> becomes just \"CR at end\" in the output file, that is ^M (aka CR) stripped.\n\nI can confirm this problem. Strange. I always thought that \"cat << EOF\" \nwas meant to copy verbatim. I think it is a bug in cygwin.\n\nThe only sensible workaround I can think of is to put the files into a \ndirectory t4015/ like t4013 does.\n\nCiao,\nDscho\n"}]}