try using set -x in your script file, ie:
#!/bin/bash
set -x 

On Wed, Sep 13, 2000 at 04:55:49PM -0700, Krzys Majewski wrote:
> What's a good way to debug /bin/sh scripts? I thought there
> was an interpreter option which would run the code line by
> line, prompting after each line, but I looked through the
> man/info pages and found nothing, or am I blind? I already
> know about sh -x and sh -v, but these by themselves are still
> a bit rough to use. If I get a good tip here I may never have
> to write C code again ;) 
> -chris
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
"As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ..."
                R.W. Hamming

Reply via email to