@
msg7086 你们是搞笑吗?
LF: Unix and Unix-like systems (Linux, macOS, FreeBSD, Multics, AIX, Xenix, etc.), BeOS, Amiga, RISC OS, and others[1]
CR+LF: Microsoft Windows, DOS (MS-DOS, PC DOS, etc.), DEC TOPS-10, RT-11, CP/M, MP/M, Atari TOS, OS/2, Symbian OS, Palm OS, Amstrad CPC, and most other early non-Unix and non-IBM operating systems
https://stackoverflow.com/questions/426397/do-line-endings-differ-between-windows-and-linuxI translate this into these line endings in general:
Windows: '\r\n'
Mac (OS 9-): '\r'
Mac (OS 10+): '\n'
Unix/Linux: '\n'
我 96 年开始玩电脑的,难道你们现在这些小年轻码农玩的不一样?