Dear List,

I have attached a copy of my perl script that I am writing. I am finding
that I am having trouble with it. I am sure that there is a simple
solution......

To cut a long story short, I have written a bash script, which uses sed and
awk to convert the logfile that is generated by the Unix squid caching
program. What this script does, is to convert the unix timestamp, and print
various columns (which in their raw format are separated by a space), as a
CSV file (comma delimited file). Thus, the final product, should be that the
output field separater is a comma.

I have included my perl script thus far. The problem that I am having is
that once it has converted the timestamp (which it does), it then splits the
rest of the file into comma separated fields, but rather than put them into
the designated file, echos them to the screen. Why is this??? I have tried
in vein to fix it, but I must be over-looking something.

Thanking you in anticipation,
Regards,

Thomas Adam
Linux Co-ordinator at The Purbeck School (Network Support)

e-mail: [EMAIL PROTECTED]
website: www.squidproxyapps.org.uk

squidlog.perl

Reply via email to