.txt file spacing

kaomaster

Junior Member
Oct 19, 2004
16
0
0
I'm trying to download a .txt file that should look like this:

Name Age Nat St Tk Ps Sh Ag KAb TAb PAb SAb Gam Sub Min Mom Sav Con Ktk Kps Sht Gls Ass DP Inj Sus Fit
----------------------------------------------------------------------------------------------------------------
J_Ashdown 25 eng 16 1 1 1 30 469 300 300 300 24 0 2283 1 123 23 0 0 0 0 0 4 1 0 100

But it ends up looking like this (basically all the infomation is combined into one line):

Name Age Nat St Tk Ps Sh Ag KAb TAb PAb SAb Gam Sub Min Mom Sav Con Ktk Kps Sht Gls Ass DP Inj Sus Fit----------------------------------------------------------------------------
-----------------------------------J_Ashdown 25 eng 16 1 1 1 30 469 300 300 300 24 0 2283 1 123 23 0 0 0 0 0 4 1 0 100

How do I fix it? Thanks.
 

firerock

Senior member
Jun 2, 2004
404
0
0
You just need to use character return at the end of "Fit" and "---" to fix the file problem.
 

swaq

Member
Aug 24, 2003
92
0
0
The problem is with the line endings. Unix uses a \n and Windows a \n\r. Notepad doesn't recognize the former as a new line. If you open it in wordpad or some other text editor (see suggestions above) and resave it you should be able to open it in notepad just fine. There is also a utility called unix2dos (http://linuxcommand.org/man_pages/unix2dos1.html), but I'm guessing you'd need Cygwin to run it on Windows or find a Windows version.