in reply to Text reformat
On Unix you can convert to local text format with:perl -pi.bak -e 1 file1 file2 file3
That should work on MacOS as well, but I don't have it here to test. (I would be able to get it to work on all 3 platforms, but DOS likes to use " to group arguments in the command line, while Unix likes to use ' for the same purpose. I couldn't figure out how to get around that incompatibility in one line.)perl -pi.bak -e 's/\r\n?|\n\r?/\n/g' file1 file2 file3
|
|---|