From owner-freebsd-questions Wed Aug 8 15:17:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 1339937B412 for ; Wed, 8 Aug 2001 15:17:19 -0700 (PDT) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0GHR00M01SLSZA@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Wed, 8 Aug 2001 15:17:53 -0700 (PDT) Received: from tagalong ([165.107.42.215]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0GHR00H2JSLR21@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Wed, 08 Aug 2001 15:17:51 -0700 (PDT) Date: Wed, 08 Aug 2001 15:16:33 -0700 From: Drew Tomlinson Subject: RE: How To Debug Scripts? In-reply-to: <997308752.3b71b9501e993@doorway.homeip.net> To: 'Mark Hannon' , 'parv' Cc: "FreeBSD Questions (E-mail)" Message-id: <5CD46247635BD511B6B100A0CC3F023925A053@ldcmsx01.lc.ca.gov> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----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