But, you read the entire file to memory in the second phase. That's not a good idea if the file is really big. Try to find an appropriate record separator or read the file in blocks and check whether the part you've read contains a complete record.
In reply to Re: Using output again without printing
by pjotrik
in thread Using output again without printing
by micwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |