Great Circle Associates Majordomo-Users
(June 1996)
 

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

Subject: Re: On using archive2.pl
From: Pedro Alejandro Lopez Valencia <palopez @ colciencias . gov . co>
Date: Mon, 3 Jun 1996 18:27:35 +0500 (GMT)
To: bcerra @ intellicorp . com
Cc: mdu <majordomo-users @ greatcircle . com>
In-reply-to: <9606030257.AA05985@bagdad.intellicorp.com>

Beth,, 

thank you very much. Now archive2.pl works fine. 


On Sun, 2 Jun 1996 bcerra@intellicorp.com wrote:

> Pedro Alejandro Lopez Valencia writes:
> > 
> > Yes, that is the real strange part of it. I wonder if I am doing something
> > wrong or archive2.pl is broken under perl 5.002.
> > In my setup @archive_dirs is:
> > 
> > @archive_dirs = ("/home3/majordomo/archive/test");
> > 
> > and the alias is
> > 
> > "|/home3/majordomo/bin/wrapper archive2.pl -f
> > /home3/majordomo/archive/test -d -a"
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
>   The problem is that @archive_dirs needs a directory
>   entry, while the alias for archive2.pl actually needs a 
>   "base" filename, not a directory.  Something like 
> 
>   "|/home3/majordomo/bin/wrapper archive2.pl -f /home3/majordomo/archive/test/test -d -a"
> 
>   would create a file test.960601 in the directory.
> 
>   This is one of the many confusing majordomoisms!
> 
>   Beth
> 
> 
> > 
> > majordomo aborts with a can't write, is a directory warning.
> > 
> > If I modify the script adding a /test pointing to a file as per
> > instructions in the archive2.pl code (found after some digging), majordomo
> > complains that I am not using a legal directory (it is not in
> > @archive_dirs). I am considering adding a slash at the end of the path in
> > the sendmail alias and see what happens. Perhaps I have to force
> > sh directory recognition?
> > 
> > -- 
> > P. Alejandro Lopez-Valencia | Tropical Ecologist, Conservation Biologist 
> > Asesor                      | Main:  palopez@ecology.umsl.edu 
> > Division de sistemas de     | Alternate: palopez@colciencias.gov.co
> > Informacion-COLCIENCIAS     | WWW: http://ecology.umsl.edu/~palopez/
> > --------------------------------------------------------------------------
> > The Hermit?        Verum sine mendatio, certum et verissimum.  
> > Why?               Satiyat nasti paro dharma! 
> > 
> > 
> > 
> 
> 


-- 
P. Alejandro Lopez-Valencia | Tropical Ecologist, Conservation Biologist 
Asesor                      | Main:  palopez@ecology.umsl.edu 
Division de sistemas de     | Alternate: palopez@colciencias.gov.co
Informacion-COLCIENCIAS     | WWW: http://ecology.umsl.edu/~palopez/
--------------------------------------------------------------------------
The Hermit?        Verum sine mendatio, certum et verissimum.  
Why?               Satiyat nasti paro dharma! 





References:
Indexed By Date Previous: Re: IRIX is POSIX?
From: "P. Alejandro Lopez-Valencia" <palopez@colciencias.gov.co>
Next: Majordomo runaway
From: Brian Abernathy <cba@wscoe1.atl.hp.com>
Indexed By Thread Previous: Re: On using archive2.pl
From: bcerra@intellicorp.com
Next: Re: On using archive2.pl
From: lisah@bdc.cirrus.com (Lisa Henry)

Google
 
Search Internet Search www.greatcircle.com