-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13-Dec-06, at 4:36 PM, jeffthewookiee wrote:
I'm currently working with vi on OS X machines. when I run something like this command: :%s/,/,\n/ I end up with output like this: CourtDismissedCount3,^@
Use \r not \n e.g. :%s/,/,\r/ Similarly you can convert the old CR only Mac files using :%s/\r/\r/g I'm not sure I can explain why clearly, so I'll just leave it at that... Brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Verify this email or encrypt your email for free - see gnupg.org iD8DBQFFgHUeGnOmb9xIQHQRAszUAJ4pFcmUnTK1o66uv1p+97hyd6DrHgCfSs3y JFKVdx7L8oTfLePAYNqcth4= =umrO -----END PGP SIGNATURE-----