up vote 2 down vote favorite
2
share [fb]

Is there a bash/ksh/any shell script IDE.

Don't you get annoyed when you forget the space inside if or I don't know, some minor syntax mistakes you do from time to time, but takes you a long time to figure it out(especially when one is tired).

I knew about some suggestion listed below, but I'm looking for something like eclipse(i.e. for java).

link|improve this question

75% accept rate
feedback

1 Answer

up vote 5 down vote accepted

Just about every editor support syntax highlighting for shell - this can help you spot problems.

In addition, you can put set -x and set -e at the top of your scripts. The -x tells the shell to print out every command before it executes it. The -e tells the shell to terminate the script if any errors occur. These should really help cut down on time spent looking for bugs.

link|improve this answer
1  
+1 for showing more forbearance in answering this question than I would. :) – Warren Young Apr 14 at 17:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.