PDA

View Full Version : text editor that works between OSes



Agum
June 18th, 2002, 00:46
here's the situation:
i'm on a win2000 machine and i'm trying to upload some script to a server (a mac running apache basically, don't ask why it's mac, i don't have control over it, it just is...)...

it seems like between transition from win2000 to mac, all the line breaks in my script becomes ^M when it got over there...

any text editors save files that don't have these carriage returns?

[edit] and yes i did upload in ASCII mode and did everything correctly, so not that =P

[edit2] just to let you know i AM already using NOTEPAD (the one with win2000), the simplest thing in the world already...

dawizman
June 18th, 2002, 08:27
what are u opening it with on the mac machine?

nag
June 18th, 2002, 11:49
Amazing! how would you write a file that has line breaks but not with carrige return characters \n on windows machine????

bigperm
June 19th, 2002, 05:03
\n is a newline.
\r is a carrige return.