Jump to content

Should the text be mac or pc formated?


coreyh
 Share

Recommended Posts

I'm using Vim so I can use either easily but I was wondering if it would be good to pick one or the other? If it was me I'd choose Mac because its only one character for the end of line instead of two.

Link to comment
Share on other sites

I assume you're talking about the script files.

 

As far as I know, you don't really need any line breaks at all, as long as commands are separated by semicolons. (If someone knows differently, please correct me!) I'm pretty sure carriage returns, line feeds, tabs, and spaces (outside of a command) are ignored by the engine, except when an error gives you the line number for the script.

 

So, basically, use whichever you wish. (Mac formatting works for me, and I'm on a Mac)

Link to comment
Share on other sites

Depending on what text editor you look at the files you don't see any line breaks and funny control characters instead. Thats why I asked. Its a formating issue more then a will it work issue.

 

Most mac text editors handle pc text files fine but not so much the other way around.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...