Great Circle Associates Majordomo-Users
(January 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Error setting up Major Domo
From: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Date: 03 Jan 1997 11:18:43 -0600
To: Nels Lindquist <nels @ maei . ca>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: "Nels Lindquist"'s message of Fri, 3 Jan 1997 09:02:52 MST7MDT
References: <3A8B7C336A0@mae.maei.ca>

>>>>> "NL" == Nels Lindquist <nels@maei.ca> writes:

NL> When I did a ./wrapper config-test in the majordomo directory,
NL> everything seemed to be OK, except that the last line reads:

NL> /(^|([^\\"]|\\.)+)"([^\\"]|\\.|$)*"?/: regexp *+ operand could be empty
NL> at majordomo.pl line 519.

You must be using an ancient version of perl.  I recently posted a patch
which even a cursory search of the archives would have turned up, but I'll
include it here:

--- majordomo.pl.orig	Tue Dec 24 22:09:03 1996
+++ majordomo.pl	Tue Dec 24 22:22:27 1996
@@ -515,8 +515,8 @@
     # Deal with unbalanced brackets or parenthesis in an address.
     $temp = $_;
 
-    # Nuke anything within quotes.  Placate Emacs -------v 
-    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"([^\\\"]|\\.|$)*\"?/$1/g;
+    # Nuke anything within quotes.
+    1 while $temp =~ s/(^|([^\\\"]|\\.)+)\"(([^\\\"]|\\.)*|$)\"?/$1/g;
 
     # Remove nested parentheses " <- placate emacs' highlighting
     1 while $temp =~ s/\([^\(\)]*\)//g;

 - J<


References:
Indexed By Date Previous: Re: "trusted users" for commands needing &pproval?
From: Rich Pieri <rich.pieri@prescienttech.com>
Next: Re: "trusted users" for commands needing &pproval?
From: "Kendall P Bullen" <kendall@his.com>
Indexed By Thread Previous: Re: Error setting up Major Domo
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: Error setting up Major Domo
From: "Nels Lindquist" <nels@maei.ca>

Google
 
Search Internet Search www.greatcircle.com