Try invoking the shell script with  -xv option

eg., 
$ sh -xv <script_file>

Hope this helps!
regards
Jayson.

-----Original Message-----
From: vivek khurana [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 4:43 PM
To: Linux-India-help; Linux India Programmers
Subject: [LIH] Debugging a shell script


Hi:-)

 I want to know how can you debug a shell script,
specifically i want to execute a shell script in step
by step mode.
 It will great if i can use some sort of debugger,
actually i have written a shell script that invoke a
program and when i run this script i get a
segmentation fault.

Bye Vivek

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to