INN commit: trunk/innfeed (procbatch.in)

INN Commit Russ_Allbery at isc.org
Thu Oct 4 19:25:35 UTC 2007


    Date: Thursday, October 4, 2007 @ 12:25:34
  Author: iulius
Revision: 7695

Initialize the value of $missing (perl -w...).
Fix some typos at the same time.

Modified:
  trunk/innfeed/procbatch.in

--------------+
 procbatch.in |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: procbatch.in
===================================================================
--- procbatch.in	2007-10-01 12:15:55 UTC (rev 7694)
+++ procbatch.in	2007-10-04 19:25:34 UTC (rev 7695)
@@ -7,11 +7,11 @@
 # File:         procbatch.pl
 # RCSId:        $Id$
 #
-# Description: Take a file of the form generated by innd in the out.going
-#	       directory ("Wnm*") and separate it into tape files for inn.
+# Description: Take a file of the form generated by innd in the outgoing
+#	       directory ("Wnm*") and separate it into tape files for INN.
 #
 # Thanks to Clayton O'Neill <coneill at premier.net> for serious speed
-# improvments. 
+# improvements. 
 # 
 
 #
@@ -37,30 +37,31 @@
   -c         to check pathnames of articles before storing them
   -s dir     to specify where the news articles are
              ($spoolArts)
-  -m         to have $0 move the new files to the backlog directory.
+  -m         to have $0 move the new files to the backlog directory
   -t dir     to specify the backlog directory ($tapeDir)
   -u         to unlink the input files when finished
   -v         for verbosity
-  -q         quiet mode; only display error messages. Good for cron jobs.
+  -q         quiet mode:  only display error messages; good for cron jobs
 
-$0 will take an inn funnel file (normally a file in
+$0 will take an INN funnel file (normally a file in
 $outGoing), or an innfeed ``dropped'' file, 
 which is presumed to be of the format:
 
 	pathname message-id peer1 peer2 peer3 ...
 
 and will break it up into files peer1.tmp peer2.tmp peer3.tmp... Each of
-these files wil be of the format:
+these files will be of the format:
 
 	pathname message-id
 
-that is the same as innfeed's backlog file format. Simply rename these files
+that is the same as innfeed's backlog file format.  Simply rename these files
 to peer1 peer2 peer3 in a running innfeed's backlog directory and they will be
-picked up automatically and processed by innfeed. Use the '-m' flag and
+picked up automatically and processed by innfeed.  Use the '-m' flag and
 they'll be moved automatically.
 " ;
 
 $opt_u = $opt_h = "";  # shut up, perl -w
+$missing = 0;
 &Getopts ("he:t:s:d:cvumq") || die $usage ;
 
 die $usage if ( $opt_h ) ;



More information about the inn-committers mailing list