How do I view Crlf in vi?

How do I view Crlf in vi?
Answer
Use the -b switch for binary mode. Eg vi -b filename or vim -b filename — . It will then show CR characters ( x0D ), which are not normally used in Unix style files, as the characters ^M .
 

Tìm kiếm

Back
Top