Hi there,
I know I can invoke scripts from within BBEdit clippings. But is
there a way to pass any parameters to it? In particular, I would like
to pass the value of #FILE# to my script, so that I can transform it.
If this is not yet possible, I guess I'd like to file a corresponding
feature request ;).
In my particular case, I want to transform the filename by replacing
all lower case letters by upper case ones, and changing "." to "_".
This will then be used in my FileHeader.h variant. Right now I use
#ifndef #BASENAME#_#FILE_EXTENSION#
which is better than nothing, but not optimal. What I would like to
do is invoke a script which does this:
echo "#FILE#" | tr [a-z.] [A-Z_]
Cheers,
Max
--
------------------------------------------------------------------
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]>