Re: shtool rotate patch to pass file values to epilog/prolog

2008-09-22 Thread Ralf S. Engelschall
On Sun, Sep 21, 2008, Bill Campbell wrote: tatus: RO Content-Length: 2216 Lines: 52 On Sun, Sep 21, 2008, Ralf S. Engelschall wrote: On Fri, Sep 19, 2008, Bill Campbell wrote: The attached patch to the sh.rotate script sets an environment variable ROTATE_LOGFILE with the name of the

Re: shtool rotate patch to pass file values to epilog/prolog

2008-09-21 Thread Ralf S. Engelschall
On Fri, Sep 19, 2008, Bill Campbell wrote: The attached patch to the sh.rotate script sets an environment variable ROTATE_LOGFILE with the name of the current file being processed before invoking the epilog or prolog programs. This permits the epilog/prolog script to do things such as

Re: shtool rotate patch to pass file values to epilog/prolog

2008-09-21 Thread Bill Campbell
On Sun, Sep 21, 2008, Ralf S. Engelschall wrote: On Fri, Sep 19, 2008, Bill Campbell wrote: The attached patch to the sh.rotate script sets an environment variable ROTATE_LOGFILE with the name of the current file being processed before invoking the epilog or prolog programs. This permits the

shtool rotate patch to pass file values to epilog/prolog

2008-09-19 Thread Bill Campbell
The attached patch to the sh.rotate script sets an environment variable ROTATE_LOGFILE with the name of the current file being processed before invoking the epilog or prolog programs. This permits the epilog/prolog script to do things such as calling webalizer to process the file being rotated.