Differences between unix and windows files

前端 未结 6 1094
攒了一身酷
攒了一身酷 2020-12-15 06:03

Am I correct in assuming that the only difference between "windows files" and "unix files" is the linebreak?

We have a system that has been moved

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 07:00

    This is only a difference in text files, where UNIX uses a single Line Feed (LF) to signify a new line, Windows uses a Carriage Return/Line Feed (CRLF) and Mac uses just a CR.

    Binary files there should be no difference (i.e. a JPEG on a windows machine will be byte for byte the same as the same JPEG on a unix box.)

提交回复
热议问题