TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:10823] debugging shell scripts



Try

csh -x <script>
ksh -x <script>

to see the step by step execution of a script. To really make it stop and go
at intermediate steps, "accept user input" where you want it to stop.

Nishi

> -----Original Message-----
> From:	Christopher Palmer [SMTP:reid@pconline.com]
> Sent:	Friday, December 03, 1999 3:08 PM
> To:	tclug-list@mn-linux.org
> Subject:	[TCLUG:10823] debugging shell scripts
> 
> Hi there,
> 
> I am not a shell scripting wizard, or even apprentice,so the answer to
> this question may be widely-known, bt not by me.
> 
> Are there any kinds of tools for debugging shell scripts (for any type of
> shell -- Bourne, Korn, C, et c.)? Specifically, something that will let me
> step through a script one command at a time. But anything at all would be
> helpful.
> 
> 
> Tia,
> -- Chris
> 
>   Christopher Reid Palmer : www.innerfireworks.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org