mrwawa wrote:
Hi all,
Hello,
I posted earlier, but it has not been listed yet. I have a second question about editing a large data file. I have a data file (roughly 13 GB) that consists of tab delimited entries. Because of its large size, I am reading the data in one line at a time. For some of the rows, a tab is missing between columns 2 and 3 and I want to parse the column and then edit the row in the existing data file. I want to maintain the existing row order, so I don't want to append onto the existing data file, rather I want to replace the row that is missing the tab with the new parsed row. Is this possible, and if so how can I do it?
It is possible, you just have to write the new data to a new file. John -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. -- Albert Einstein -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/