Hi,
On Mon, 22 Jun 1998, Nigel Metheringham wrote:
> rb237@??? said:
> } The subject line just about says it all. It would be convenient for
> } eximstats to be able to read the exim log file via stdin:
> } Has anybody achieved this?
>
> gzip -dc exim_mainlog.02.gz | eximstats
>
> works fine!
> [This is pretty much standard for perl scripts which just take a list of
> filenames off the command line and use stdin if none are supplied]
Ahh.. thanks! I was instinctively placing the '-' stdin character on the
command line.
Cheers!
Regards,
Rich
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
/_/ Richard A Bemrose /_\ Polymers and Colloids Group \_\
/_/ email: rb237@??? /_\ Cavendish Laboratory \_\
/_/ Tel: +44 (0)1223 337 267 /_\ University of Cambridge \_\
/_/ Fax: +44 (0)1223 337 000 /_\ Madingley Road \_\
/_/ (space for rent) / \ Cambridge, CB3 0HE, UK \_\
/_/_/_/_/_/_/ http://www.poco.phy.cam.ac.uk/~rb237 \_\_\_\_\_\_\
"Life is everything and nothing all at once"
-- Billy Corgan, Smashing Pumpkins
--
*** Exim information can be found at
http://www.exim.org/ ***