Also a couple of things I downloaded to compile wouldn't compile because of mac line breaks. It turned out that when stuffit unpacked a .tgz file it converted the line breaks to mac format. I've had to disable stuffit for tgz, tar, and tar.gz files to prevent that and now just unpack from the command line.
When I get to work on Monday, I'll pull out my vi reference mug and try this out.
I think I misread the original post when I responded. However I know it is possible to make a perl script to convert Mac line breaks to Unix and vice versa.
Maybe that would be a good command line way to deal with it if you don't want to use something like BBEdit.
BTW, my pico on Solaris does not like Mac line breaks, so it seems they tweaked the OS X one so that it would be okay with them. I wonder why they would have tweaked pico and not vi. Has anyone tried emacs yet?