Re: Syntax check for Shell Scripts
- From: Janis <janis_papanagnou@xxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 04:55:50 -0800 (PST)
On 18 Feb., 12:03, Geppo <geppore...@xxxxxxxxxx> wrote:
Hi,
I'm new to the world of Unix Shell and I was wondering if there is a
nice IDE tool, which does automatic syntax checking (and why not
colouring) for shell scripts.
Invoke your shell programs with option -n to just let the shell do
syntax check without executing commands...
sh -n yourscript.sh
Try also options -x (and -v) to support your debugging efforts.
I am sure many editors support syntax highlighting. (I am using
vim/gvim, for example, which supports syntax coloring for more
languages and data formats than I've ever heard from. Though
it's not that easy to learn.)
Something like Eclipse or Microsoft Dev Studio (well hopefully
lighter).
I don't know of any such specifically for shell program development.
Janis
Thank you.
.
- References:
- Syntax check for Shell Scripts
- From: Geppo
- Syntax check for Shell Scripts
- Prev by Date: Re: Syntax check for Shell Scripts
- Next by Date: Re: awk/sed - a tricky one
- Previous by thread: Re: Syntax check for Shell Scripts
- Next by thread: Re: Syntax check for Shell Scripts
- Index(es):
Relevant Pages
|