Hi.

I work with lots of bash and perl scripts and I've noticed that my perl scripts have their subroutines show up in the BBEdit function menu whereas my bash scripts do not have their functions show up there. So, I'm able to jump from sub to sub if I am working with PERL, but not if I'm working with BASH.

The very same bash scripts, when loaded into another text editor which supports a function menu (ie: SubEthaEdit, Eddie, etc) recognized all the functions in my bash script.

Here's an example of a typical function in one of my bash scripts...

        # -----------------------------------------------
        # killThumbsDB Function
        # -----------------------------------------------
        killThumbsDB () {
                # recursively get rid of Thumbs.db files
                find . -name "Thumbs.db" -exec rm {} \;
        }

...as I mentioned, functions formatted like this, show up in the functions menu in SubEthaEdit and Eddie.

Is there some extra language module or something I need to add to BBEdit to make it recognize functions in a shell script?

I'm using BBEdit 8.2.3 -- have not yet uppped to 8.5

-Jim-

--
------------------------------------------------------------------
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]>

Reply via email to