It works on vim:
:set list to see line-endings.
:set nolist to go back to normal.
While I don’t think you can see \n or \r\n in vi, you can see which type of file it is (UNIX, DOS, etc.) to infer which line endings it has…
:set ff
It works on vim:
:set list to see line-endings.
:set nolist to go back to normal.
While I don’t think you can see \n or \r\n in vi, you can see which type of file it is (UNIX, DOS, etc.) to infer which line endings it has…
:set ff