Help! I've accidentally reformatted a script. Can't change it back...

I really hope someone will be able to help me out here.

I am using Unitron on a Mac and I’ve accidentally changed “Line Endings” to another format without realising and saved it that way. Now my script is all screwed up and changing it back doesn’t seem to work at all.

It’s a HUGE script and I’d really really hate to lose it. Any ideas what I can do? You’d save my life…

how is it all screwed up? is it the carriage returns? formatting?

The script is suddenly completely in comments and it has “?” all over the place. Right in between functions and statements.

I did comment some parts of the script and that seems to entirely confuse it.

How about using find to find all the ? and replace it with whatever was before.

Already did that and it got rid of the random ?, but all the code was messed up.
I’m almost through recovering it by now. Took me the entire day though.

Thanks anyways