dos2unix,unix2dos
dos2unix,unix2dos
The Dos2unix package includes utilities "dos2unix" and "unix2dos" to convert plain text files in DOS or MAC format to UNIX format and vice versa.
主要工作是转换换行符不同。
winodw:CRLF(\r\n)
linux:LF(\n)
MAC:CR(lr)
dos2unix,unix2dos
The Dos2unix package includes utilities "dos2unix" and "unix2dos" to convert plain text files in DOS or MAC format to UNIX format and vice versa.
主要工作是转换换行符不同。
winodw:CRLF(\r\n)
linux:LF(\n)
MAC:CR(lr)