On Thu, 20 May 2004, Matthias Fuhrmann wrote:

> On Thu, 20 May 2004, Bernie Johnson wrote:
>
> > Rules_du_jour.sh, I ran this script after placing it in /usr/local/bin gave
> > it chmod +x and launched it with ./rules_du_jour .  Then it just sat there
> > not returning a prompt. Is this normal or do you think it hang.  I ran ps -a
> > |more and see it in the processes but don't see it running when I do a top.
> > Any ideas?
>
> set a 'set -x' like this:
>
> #!/bin/bash
> # Version 1.13
> set -x
>
> so you'll get a verbose output, and youll see what it is doing.
> remove ist after testing or comment it out:
>
> # set -x

there is also a debug build in:

# DEBUG="true";     # Uncomment this to force debug mode on (or use -D)
or
/usr/local/bin/rules_du_jour -D

try this one first.

regards,
Matthias

Reply via email to