Browse Source

Change occurences of pisg.pl to pisg

Morten Brix Pedersen 24 years ago
parent
commit
006f403ce0
3 changed files with 10 additions and 10 deletions
  1. 4 4
      README
  2. 4 4
      pisg
  3. 2 2
      scripts/crontab

+ 4 - 4
README

@@ -14,7 +14,7 @@ a HTML version. Quick explanation below:
 
 It's quite simple to set up pisg. You have 2 choices:
 
- * Set settings from commandline (try pisg.pl --help)
+ * Set settings from commandline (try pisg --help)
  * Configure pisg from the pisg.cfg file (more flexible and configurable)
 
 If you look in the example pisg.cfg, you will see a small working sample
@@ -43,18 +43,18 @@ RUNNING PISG
 If you have setup everything inside the config file, then you just need to
 run it. If you're on a Linux/BSD/Unix system, this should do the work:
 
-    $ ./pisg.pl
+    $ ./pisg
 
 Running pisg like this will just use the settings in pisg.cfg.
 
 If you want to specify things on commandline instead of in the config file,
 you could do:
 
-    $ ./pisg.pl -ch \#channel -l logfile.log -f mIRC -o index.html
+    $ ./pisg -ch \#channel -l logfile.log -f mIRC -o index.html
    
 The syntax and options is explained when doing:
 
-    $ ./pisg.pl --help
+    $ ./pisg --help
 
 Setting settings on commandline, will override the relevant settings in
 pisg.cfg.

+ 4 - 4
pisg

@@ -25,8 +25,8 @@ sub main
 {
     my $script_dir = $0;
 
-    # If the script was executed as ./pisg.pl - then we just remove
-    # everything after the last slash, if it was executed as 'perl pisg.pl'
+    # If the script was executed as ./pisg - then we just remove
+    # everything after the last slash, if it was executed as 'perl pisg'
     # we assume that we are executing in the current dir.
     if ($script_dir =~ m/\/[^\/]*$/) {
         $script_dir =~ s/\/[^\/]*$//;
@@ -81,7 +81,7 @@ sub get_cmdline_options
     my ($tmp, $help, $silent, $option, @cfg);
 
 my $usage = <<END_USAGE;
-Usage: pisg.pl [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
+Usage: pisg [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 [-f format] [-n network] [-d logdir] [-mo moduledir] [-s] [-v] [-h]
 
 -ch --channel=xxx      : Set channel name
@@ -102,7 +102,7 @@ Usage: pisg.pl [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 
 Example:
 
- \$ pisg.pl -n IRCnet -f xchat -o suid.html -ch \\#channel -l logfile.log
+ \$ pisg -n IRCnet -f xchat -o suid.html -ch \\#channel -l logfile.log
 
 All options may also be defined by editing the configuration file and
 calling pisg without arguments.

+ 2 - 2
scripts/crontab

@@ -1,9 +1,9 @@
 # In order to run pisg in crontab, then do 'crontab -e' as a normal user,
 # and insert a line like this:
 
-*/10 * * * * /path/to/pisg.pl --silent
+*/10 * * * * /path/to/pisg --silent
 
 # This will make pisg run every 10 minutes, or you could do it every hour
 # by doing this:
 
-* 0 * * * /path/to/pisg.pl --silent
+* 0 * * * /path/to/pisg --silent