in reply to Re: Strange File read problem
in thread Strange File read problem
OK the problem is with screwy file delimiters. If I open the same file in notepad, then the file appears all in one line with a "rectangle" like character in between my lines. (funny thing is that if I copy paste that "rectange like" character into this window it results into a new line!!)
I suppose this is a character which textpad and eclipse java editor find OK but notepad and perl do not recognize this as a newline character.
But now how do I solve this problem ? I am kind of stuck...I have two kinds of newlines in my source code and I have to write a utiltity which has to reads all the lines of the source code and process it. Can I find this character and replace it with the one which is universally regarded as a newline?
Please help I am confused!
regards,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Strange File read problem
by michaeld (Monk) on Apr 09, 2003 at 19:07 UTC |