On 2016-06-09 16:25, Martin Gregorie wrote:
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
This is NO LONGER true for Mac OS X. It's Unix/Unix-like.
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281