On Thu, 2016-06-09 at 16:54 -0400, Yu Qian wrote: > Ok, I found out. so the db files generated on Mac can not be used on > Linux. vice versa. > Newline symbols differ: '/n' is 0x0a (LF) for Linux, 0x0d (CR) for Macs.
The bad news is that this screws up many programs. The good news is that its easily fixed by using the tr utility or special-purpose text file conversion programs - provided the files don't contain binary fields or anything else that that could leave one of these bit patterns in a byte. Martin