Date: Wed, 8 Aug 2001 15:31:07 -0700 From: Fred Condo <fred@condo.chico.ca.us> To: Drew Tomlinson <drewt@writeme.com> Cc: "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG> Subject: Re: How To Debug Scripts? Message-ID: <20010808153107.B47033@absinthe.condo.chico.ca.us> In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A052@ldcmsx01.lc.ca.gov>; from drewt@writeme.com on Wed, Aug 08, 2001 at 02:55:34PM -0700 References: <5CD46247635BD511B6B100A0CC3F023925A052@ldcmsx01.lc.ca.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 08, 2001 at 02:55:34PM -0700, Drew Tomlinson wrote: > I am attempting to write my first FBSD script. My shell is tcsh but I'm > writing the script to use the standard /bin/sh (this is the way I should do > it, right?). Anyway, I have written many scripts using OpenVMS on VAXs and > Alphas. In that OS, there's a command called "set verify" that prints each > line of the script as it executes. This way I can see what symbol > substitution has taken place and exactly at what line the error(s) occurred. > Is there something similar to this for Unix scripts? > sh -x scriptname 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?20010808153107.B47033>