I have written a simple 2 line script that, when used in terminal,
inputs a text file and outputs the text file with lines evened out to
about 70 characters and a carriage return at the end of each line. The
program uses the unix program fmt which is provided on my machine (OS
10.4.5). My question: is it hard to put this script into the TextEdit
toolbar? I envisage it as one of the options under the Format button.
I would write my text file using carriage returns at random, click the
button, and even out the script.
|