procmail
[Top] [All Lists]

Re: fileserver works, ls command does not

1996-04-02 14:12:28
I suggested to Emilio Grimaldo:

|       :0
|       * $ COMMAND ?? ^^(send|list) \/.*
|       { FILE=./$MATCH }

|       :0bfi
|       | $FUNCTION $FILE
|        :0a
|        ! -t

What *was* I thinking?  The "$" modifier on the first condition, which wasn't
needed after all, will reduce "\/" to just "/", so it will leave $MATCH at
its old value ("send" or "list") make the whole thing fail (you need "\\/"
to get extraction with the "$" modifier).  Moreover, the first two recipes
there can be simplified into one:

        :0bfi
        * COMMAND ?? ^^(send|list) \/.*
        | $FUNCTION ./$MATCH
         :0a
         ! -t

<Prev in Thread] Current Thread [Next in Thread>
  • Re: fileserver works, ls command does not, David W. Tamkin <=