On Sun, 26 Nov 2000, Vikrant Dhawale wrote:
>                 Is there any tool available for debugging a shell script,
> where you can trace statements one by one etc. and other facilities for
> effective debugging of scripts.

export PS4='+${0##*/} line $LINENO: '

Change the 1st line, from:

        #!/bin/bash

   to

        #!/bin/bash -xv

>From a tip on the Singapore LUG list by Greg Hosler

--
Sanjeev "ghane" Gupta                    Mob: +65 98551208
dotXtra Pte Ltd                          Fax: +65 2275776
Singapore                                email: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


------------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to