Page 1 of 1
Need UNIX format even though using TextPad on a PC.
Posted: Mon Oct 02, 2006 10:59 pm
by nlw
Is there a way to set Preferences so that all TextPad files will save as file format UNIX when using TextPad on a PC?
Or, is there away to globally change a set of TextPad files from PC file format to UNIX file format?
Thank you
Posted: Tue Oct 03, 2006 7:01 am
by kindlerm
You can define this in the documentclass.
Posted: Tue Oct 03, 2006 7:52 am
by ben_josephs
As kindlerm points out, you can tell TextPad to save new files in Unix format, either all of them or just those in particular classes:
Configure | Preferences | Document Classes | <Class> | Create new file as: UNIX.
There's no way to tell it to save all existing files in Unix format. But you can
File | Save Aas... | File Format: UNIX.
Alternatively, you can convert the files on the command line using such a utility as dos2unix.
Posted: Wed Oct 04, 2006 12:28 am
by kengrubb
You can download and try the other great product offered by Helios, WildEdit. It will convert files en masse from one format to another. I tried and it works.
Find what:
\x0d\x0a
Replace with:
\x0a
Be sure to check both Regular expression and Replacement format.
