>I hate it when that happens! Do you use emacs? If not, emacs has a >mode that will line up your indents when you press tab on a line. When >you miss a } you will notice the indentation is wrong. But emacs isn't >perfect either... > >Haven't heard of a lint for bash though. Tried google? Google has lint for C, Java, etc, but not for BASH. 8-( I tried freshmeat and there was nothing there either. I use xemacs. The highlighting is too easy to miss. I'm considering writing a function to automatically provide the closing brace, bracket, paren, etc as soon as I give it the first character. Then there's no way to have an unbalanced situation unless you step on a character. kwrite does that and I got used to it. In the example I cited, I tried having xemacs help me locate the problem, but it got confused. I've noticed that xemacs will sometimes mess up if comments contain ' or ". It won't properly color code real code because it believes its inside a quoted string when its not. That's also why I'm looking for a lint filter to get rid of comments as a debugging aid. Bill Gradwohl (817) 224-9400 x211 www.ycc.com SPAMstomper Protected Email -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list