Good morning,
On 18/3/08 at 6:32 AM -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
And I can use bbedit with "bbedit -t "NNTP POSTING" --new-window '%s'"
Certainly not tested, so may not work due to bbedit command not
completing until window is closed, but how about:
bbedit -t "NNTP POSTING" --new-window '%s' ; osascript 'tell app
"BBEdit" to hard wrap text 1 of text document 1 limit character
width width 72 indentation none with paragraph fill and relative'
That AppleScript came from a script recording, so adjust to taste.
If that doesn't work due to script not running until after
window is closed, then try the fmt command, eg:
bbedit -t "NNTP POSTING" --new-window '%s' ; fmt -w 72 '%s' > '%s'
BTW, I'm assuming that %s is the temp file name.
Charlie
--
Charlie Garrison <[EMAIL PROTECTED]>
PO Box 141, Windsor, NSW 2756, Australia
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>