LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: quote-count: A debugging tool for shell scripts (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-quote-count-a-debugging-tool-for-shell-scripts-850819/)

LXer 12-17-2010 02:50 AM

LXer: quote-count: A debugging tool for shell scripts
 
Published at LXer:

I've been doing a lot of shell scripting lately with Dash and Bash. Complicated scripts with lots of text handling make debugging difficult, especially when they are being used in sub-shells which obfuscate line numbers in error messages. One of my more common mistakes is an unmatched quote. These can be rather difficult to find so I wrote quote-count, a simple analysis tool that counts quotes in lines.

Read More...


All times are GMT -5. The time now is 01:01 PM.