From: Stephen P Rufle <
stephen.p.rufle@cox.net>
> Is there a way to single step bash script to inspect what is going on?
When I need copious debugging output from a bash script, I put "set -x"
at the top of the file. When I need to check the syntax for a script,
I do "sh -n file.sh". Someone else already pointed out chapter 29 of
the bash scripting guide, which also has other bash debugging ideas.
--
Matt G / Dances With Crows
The Crow202 Blog:
http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss