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:
|
|