#!/usr/bin/perl
-# With some other Unix Os, first line may be
-#!/usr/local/bin/perl
-# With Apache for Windows and ActiverPerl, first line may be
-#!C:/Program Files/ActiveState/bin/perl
-#-Description-------------------------------------------
+#------------------------------------------------------------------------------
# Launch awstats with -staticlinks option to build all static pages.
# See COPYING.TXT file about AWStats GNU General Public License.
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
# $Revision$ - $Author$ - $Date$
# use strict is commented to make AWStats working with old perl.
#use Thread;
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
# Defines
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
my $REVISION='$Revision$'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
my $VERSION="1.2 (build $REVISION)";
/;
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
# Functions
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# Function: Write error message and exit
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
# MAIN
-#-------------------------------------------------------
+#------------------------------------------------------------------------------
($DIR=$0) =~ s/([^\/\\]*)$//; ($PROG=$1) =~ s/\.([^\.]*)$//; $Extension=$1;
my $QueryString=''; for (0..@ARGV-1) { $QueryString .= "$ARGV[$_]&"; }