Преглед на файлове

Change occurences of pisg.pl to pisg

Morten Brix Pedersen преди 24 години
родител
ревизия
006f403ce0
променени са 3 файла, в които са добавени 10 реда и са изтрити 10 реда
  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:
 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)
  * 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
 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
 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:
 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.
 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,
 If you want to specify things on commandline instead of in the config file,
 you could do:
 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:
 The syntax and options is explained when doing:
 
 
-    $ ./pisg.pl --help
+    $ ./pisg --help
 
 
 Setting settings on commandline, will override the relevant settings in
 Setting settings on commandline, will override the relevant settings in
 pisg.cfg.
 pisg.cfg.

+ 4 - 4
pisg

@@ -25,8 +25,8 @@ sub main
 {
 {
     my $script_dir = $0;
     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.
     # we assume that we are executing in the current dir.
     if ($script_dir =~ m/\/[^\/]*$/) {
     if ($script_dir =~ m/\/[^\/]*$/) {
         $script_dir =~ s/\/[^\/]*$//;
         $script_dir =~ s/\/[^\/]*$//;
@@ -81,7 +81,7 @@ sub get_cmdline_options
     my ($tmp, $help, $silent, $option, @cfg);
     my ($tmp, $help, $silent, $option, @cfg);
 
 
 my $usage = <<END_USAGE;
 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]
 [-f format] [-n network] [-d logdir] [-mo moduledir] [-s] [-v] [-h]
 
 
 -ch --channel=xxx      : Set channel name
 -ch --channel=xxx      : Set channel name
@@ -102,7 +102,7 @@ Usage: pisg.pl [-ch channel] [-l logfile] [-o outputfile] [-ma maintainer]
 
 
 Example:
 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
 All options may also be defined by editing the configuration file and
 calling pisg without arguments.
 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,
 # In order to run pisg in crontab, then do 'crontab -e' as a normal user,
 # and insert a line like this:
 # 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
 # This will make pisg run every 10 minutes, or you could do it every hour
 # by doing this:
 # by doing this:
 
 
-* 0 * * * /path/to/pisg.pl --silent
+* 0 * * * /path/to/pisg --silent