Hi all,

shell script n00b here.
Apologies for the OT post, but I'm certain someone here can point me
in the right direction.

I have a shell script like this:

perl /var/www/cgi-bin/awstats.pl -config=intranet -staticlinks
-output=allhosts > awstats.intranet.allhosts.html
perl /var/www/cgi-bin/awstats.pl -config=intranet -staticlinks
-output=alldomains > awstats.intranet.alldomains.html
<snip..lots of other awstats commands.>
perl /var/www/cgi-bin/awstats.pl -config=intranet -output=errors404
-staticlinks > awstats.intranet.errors404.html

It runs fine but ends up only producing the *final* file with the correct name
awstats.intranet.errors404.html

The other files are produced with garbled names like:
A0J18J~M
Oddly enough (as if this wasn't already odd) when I check the source
of the file, it contains the correctly outputted HTML source, so it
seems like *only* the filename is being mangled on output.

Any thoughts?

Paul

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to