How do you find line breaks in Unix?

Mỹ Duyên

New member
How do you find line breaks in Unix?
Answer
Try file then file -k then dos2unix -ih
  1. It will output with CRLF line endings for DOS/Windows line endings.
  2. It will output with LF line endings for MAC line endings.
  3. And for Linux/Unix line “CR” it will just output text .
 

Tìm kiếm

Back
Top