cat does not display ^M?
Hey guys,
I have this txt/flat file which I scp'd from a Windows box to a Unix box through Binary mode (yes, ASCII mode should be used). When using vi on the file, the ^M special characters can be seen at the end of each line. Which makes sense, right? However, when reading the file through cat, I don't see the special characters. I have always believed cat should be able to see the special characters. Why can't it? Am I missing anything here? Thank you. |
Try option -v
Code:
-v, --show-nonprinting |
have you tried cat: filename.txt -v
|
All times are GMT -5. The time now is 10:18 AM. |