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
Need UNIX format even though using TextPad on a PC.
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
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.
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.
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.
Find what:
\x0d\x0a
Replace with:
\x0a
Be sure to check both Regular expression and Replacement format.
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.