Re: BASH lint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Not quite what you are looking for but is you make the top line
>
>#!/bin/bash -x
>
>It will but the script into debugging mode

I use that during debugging, but that's not what I'm after. 

I'm looking for a utility to read my BASH script and look for unbalanced (), {}, [], '', '', ``, strip out comments, and in general point at possible flaws that are usually typos. 

I had a case recently where a missing } at line 50 caused it to display an error around line 300. That took a while to find.



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

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux