you could also put echo commands in your script. That way you
would know where you're at.
-- Brad Bendily - CNA On Fri, 21 Feb 2003, J. Kent Busbee, Jr. wrote: > To debug a script try running "sh -v scriptname" > To see commands and comments or "sh -x scriptname" > To see the commands only. > > -----Original Message----- > From: owner-nolug@joeykelly.net [mailto:owner-nolug@joeykelly.net] On > Behalf Of Ron Johnson > Sent: Friday, February 21, 2003 6:05 AM > To: NOLUG ML > Subject: [Nolug] Viewing each command in a bash script > > Hi. > > Normally, if one runs a script, all that one sees is the output > from the programs, not any comments in the script, or the actual > commands. > > Is there any way to enable such viewing? I'd find it very useful > for debugging scripts. > > TIA, > Ron > ___________________ Nolug mailing list nolug@nolug.orgReceived on 02/21/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST