Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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).

share|improve this question

1 Answer 1

up vote 8 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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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