Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2001 15:16:33 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        'Mark Hannon' <markhannon@optushome.com.au>, 'parv' <parv@worldnet.att.net>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: How To Debug Scripts?
Message-ID:  <5CD46247635BD511B6B100A0CC3F023925A053@ldcmsx01.lc.ca.gov>
In-Reply-To: <997308752.3b71b9501e993@doorway.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Mark Hannon [mailto:markhannon@optushome.com.au]
> Sent: Wednesday, August 08, 2001 3:13 PM
> To: Drew Tomlinson
> Cc: FreeBSD Questions (E-mail)
> Subject: Re: How To Debug Scripts?
> 
> 
> > writing the script to use the standard /bin/sh (this is the 
> way I should
> 
> > Alphas.  In that OS, there's a command called "set verify" 
> that prints
> 
> Change the first line of your script to 
> 
> #!/bin/sh -x
> 
> where the -x will trace everything.

Thanks.  That and the -v option was what I was looking for!

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F023925A053>