Re: about formatted text

2007-10-28 Thread camotito
Thanks for the help. Yes, I was modifying the file in a unix enviroment (msys). Printing \r\n instead of \n solve the problem. Wikipedia has a nice article about this issue with some perl code for modifying/adapting line-breaks between different operating systems : http://en.wikipedia.org/wiki/Newl

Re: about formatted text

2007-10-27 Thread Gunnar Hjalmarsson
camotito wrote: I am using perl on msys in a windows operating system. I was manipulating a file with .TAB extension. This is a file with 10 (or so) columns separated by tabs. I store each line in an array, after doing modifications to a couple of fields I print the array in another file using t

Re: about formatted text

2007-10-27 Thread Daniel Kasak
On Sat, 2007-10-27 at 14:18 +, camotito wrote: > The program I am using (that is running over windows) can only read > the first line in the modified file. When I open the modified file > with notepad I see an square at the end of each line.And all the lines > are in one line. For a Windows n

Re: about formatted text

2007-10-27 Thread Rob Dixon
camotito wrote: Hello! I am using perl on msys in a windows operating system. I was manipulating a file with .TAB extension. This is a file with 10 (or so) columns separated by tabs. I store each line in an array, after doing modifications to a couple of fields I print the array in another file

about formatted text

2007-10-27 Thread camotito
Hello! I am using perl on msys in a windows operating system. I was manipulating a file with .TAB extension. This is a file with 10 (or so) columns separated by tabs. I store each line in an array, after doing modifications to a couple of fields I print the array in another file using this line :