Create new files as PC vs. UNIX?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
gr8dane
Posts: 12
Joined: Wed Sep 26, 2007 1:05 am

Create new files as PC vs. UNIX?

Post by gr8dane »

When I configure preferences for a document class, I can choose whether to Create new files as PC, UNIX or Mac. Do I base my choice on what my computer is or on what the web server is? For example, I am editing files on a PC but they are destined to reside on a Linux server, so which option would I choose?
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

I hate to sound evasive, but the format should be based upon the need.

PC format files terminate with a CR (\x13) and LF (\x10).

Unix format files terminate with a LF only.

Mac format files terminate with a CR only, though I've given to understand that Mac went to the Unix convention of LF only at some point.
(2[Bb]|[^2].|.[^Bb])

That is the question.
Post Reply