Mailing the story:

quote-count: A debugging tool for shell scripts

  • Stubborn Tech Problem Solving; By jhansonxi (Posted by on CST)
  • Story Type: Announcements; Groups: Linux
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.
What is your name?

What is your E-Mail address?

What is the email address of the recipient?

Add a special note from yourself?