quote-count: A debugging tool for shell scripts

Posted by jhansonxi on Dec 17, 2010 4:44 AM EDT
Stubborn Tech Problem Solving; By jhansonxi
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Announcements; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.