[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debugging /bin/sh scripts?



'sh -n' will syntax-check a script without actually executing any of
the commands.

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

-- 
------------------------------------------------------
| THKS :&>               | Federated Insurance       |
| Jeff Howie             | Information Systems - P&C |
| Int Programmer/Analyst | 204.786.6431.x.217        |
------------------------------------------------------



Reply to: