Jim Correia
2008-04-19 16:58:46 UTC
Is there a way to specify the wrap margin when launching bbedit from
the cli? Is there a way to specify it as a HARD wrap? Is there
anyway to tell BBEdit to hard wrap a new document? All the instances
of 'wrap' in the manual are about soft wrap.
What specifically are you doing?the cli? Is there a way to specify it as a HARD wrap? Is there
anyway to tell BBEdit to hard wrap a new document? All the instances
of 'wrap' in the manual are about soft wrap.
Literally launching BBEdit from the command line - `bbedit --launch` -
doesn't deal with documents at all.
`bbedit path` will open the file at the path, but not have any side
effects on the data. (Hard wrap is a side effect on the data.)
`some_command | bbedit` will create an untitled document with the data
as it is passed. If you want to have side effects on the data,
transform it before piping it to BBEdit.
Without knowing what you are trying to do, it is hard to offer more
specific advice.
In theory, wrapping the BBEdit tool with a script that pre-process
data might be a solution. Replacing `bbedit` with your own script that
opens/creates documents and post-processes them is another (though, if
you are relying on --wait, this becomes non-trivial.)
Jim
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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: <bbedit-talk-***@barebones.com>
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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: <bbedit-talk-***@barebones.com>