Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Aug 2001 08:12:32 +1000 (EST)
From:      Mark Hannon <markhannon@optushome.com.au>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How To Debug Scripts?
Message-ID:  <997308752.3b71b9501e993@doorway.homeip.net>
In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A052@ldcmsx01.lc.ca.gov>
References:  <5CD46247635BD511B6B100A0CC3F023925A052@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

/mark

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?997308752.3b71b9501e993>