in reply to Re: combining lists, formatting and printing on windows
in thread combining lists, formatting and printing on windows
Or, use dos2unix and unix2dos on your unix machine (hopefully they are installed)If they are not installed (for example, they don't exist on the AIX platforms used at my workplace), it is possible and easy to create some aliases using Perl oneliners to add or remove the \r character. For example:
dos2unix:
unix2dos:perl -pi -e 's/\r//g;' <filename>
perl -pi -e 's/\n/\r\n/g;' <filename>
|
|---|