Skip to main content
The 2024 Developer Survey results are live! See the results
6 events
when toggle format what by license comment
Mar 23, 2020 at 20:42 comment added Shayan correction: Thus, line-ending \r\n sequences will display as ^M$
Oct 6, 2016 at 12:06 comment added Mercury ^M = DOS/Windows style
Dec 20, 2015 at 1:40 history edited mklement0 CC BY-SA 3.0
added 283 characters in body
Jan 29, 2014 at 6:35 comment added Ali I wanted to see if the file has ^M(Windows/DOS EOL) and only cat -v showed me that. +1 for that
Nov 12, 2013 at 20:48 comment added Dennis Williamson @ChrisK: Try echo -e 'abc\ndef\r\n' | cat -v and you should see a ^M after the "def".
Aug 25, 2010 at 21:01 history answered warriorpostman CC BY-SA 2.5