|XP is just a number|
? ? ? ?
How did you come up with those reasons.
It is true that if you open a file for writing and the system crashes, the file is destroyed. But the file is opened in read/write. When the system crashes the file will be unchanged unless the file is closed properly. There may be other reasons to make a backup, you reason is not one of them.
As the foreach vs while, on my solaris there is no difference in memory usage between the two. I ran the two programs with a 40MB file and the memory usage was the same.
I can understand the file write vs read/write mistake, but next time could you please check you facts before you post.
In reply to RE: RE: Re: How do I remove blank lines from text files?