in reply to Creating Unix Friendly files in win32

Hi,

Use a '\n' in your print statement to seperate records/lines.

When reading the file on unix/linux you'll notice that win32 files tend to end in cr/lf instead of the usual lf. You can easily convert cr/lf files to lf by using the dos2linux command. It will change the file so if you need to go back to the original better make a backup first or use linux2dos.

Greetings

--
if ( 1 ) { $postman->ring() for (1..2); }
  • Comment on Re: Creating Unix Friendly files in win32