Mac OS的行尾以回车字符结束,许多文本处理工具将这样的文件作为一行来处理。
Mac OS ends lines with the carriage return character, and many text processing tools treat such files as a single line. To fix that, we can use the following tricks.
此模式支持提供包含间隔事务结束的批处理文件处理需求。
This pattern supports the need to provide processing of batch files containing end of interval transactions.
如果没有将文件保存为使用 UNIX 换行符来表示行结束这种格式,则需要将这样的文件转换成本机 UNIX 格式,否则一些命令实用程序不会正确地处理这些文件。
When not saved using the UNIX newline line ends, such files need to be converted into the native UNIX format or else some command utilities will not process them correctly.
应用推荐