On Sat, Aug 16, 2003, Tzahi Fadida wrote about "RE: Script refresh":
> Well, i tried all kind of things and now i suspect that this happens when i use
> ">>" on several points. i.e:
> sh-main script runs once : sh-subscript1 >> /var/log/logfile&
> sh-subscript1 runs in a while loop: perl-subscript1 >> /var/log/logfile
> perl-subscript2 is called sometimes from perl-subscript1: system echo "sdf" | 
> perl-subscript2
> >>/var/log/logfile

In your example, all scripts except sh-main should not have the ">>..."
lines, because all their output would be redirected to that file anyway
because they inherit the standard output from sh-main.

-- 
Nadav Har'El                        |        Saturday, Aug 16 2003, 18 Av 5763
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |A Nobel Peace Prize? I would KILL for one
http://nadav.harel.org.il           |of those.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to