On Mon, Oct 08, 2007 at 02:24:22PM -0500, Martin McCormick wrote:
>       In vi, one can hit % and jump to the corresponding
> parenthesis or brace which helps in complex situations. Is there
> anything that will show which fi directive went with which if?
> Sometimes, scripts can grow to a pretty messy state and it gets
> hard to tell what is included between any given fi directive and
> an if clause that might be several lines back and nest some
> other if-thens in between?
> 
>       This tends to happen in shell scripts that started out
> simple and then one added this or that until . . . We've all
> been there at some point.
> 
>       If there is such an application, it needs to work in
> normal non-GUI environments.

There's a vim script to do such things. Check it out:

http://www.vim.org/scripts/script.php?script_id=39

>       Thanks.
> Martin McCormick
--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to