Date: Wed, 08 Aug 2001 14:55:34 -0700 From: Drew Tomlinson <drewt@writeme.com> To: "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org> Subject: How To Debug Scripts? Message-ID: <5CD46247635BD511B6B100A0CC3F023925A052@ldcmsx01.lc.ca.gov>
next in thread | raw e-mail | index | archive | help
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? Thanks, 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?5CD46247635BD511B6B100A0CC3F023925A052>