procmail
[Top] [All Lists]

Re: "re-delivering" doesn't function

1996-01-08 09:16:21
 
Egil Kvaleberg (egilk(_at_)sn(_dot_)no) wrote:

Oops, just noticed a mistake in the shell script. (I put
in these few lines afterwards so that I didn't have to explain that
the file in question had to exist). Correction is easy, just insert
a space between the ! and [.


    if ! [ -e .popmail.o ]; then
        ^


  I will observe that this is not portable :)

  you would want:

  if test ! -e popmail.o 

  instead.  Only more modern posix shells have the ! command

Soren

<Prev in Thread] Current Thread [Next in Thread>