procmail
[Top] [All Lists]

Weird >> redirection error mesages

1999-03-01 02:33:48


    Would anyone have ideas what may be the reason that all my *? condition
    line stopped working in one night :-)

        e = `which echo`
        b = $BIFF

        :0 c
        | echo 123 >> $b

        :0
        *$ ? echo 123 >> $b
        /dev/null


    In HP-UX zeus A.09.0 procmail v3.11pre7 (where the sendmail/procmail runs)

procmail: Executing "which,echo"
procmail: Assigning "e=/bin/echo"
procmail: Assigning "b=/users/jaalto/tmp/pm-biff.log"
procmail: Executing " echo 123 >> $BIFF"
procmail: Assigning "LASTFOLDER= echo 123 >> $BIFF"
procmail: Executing " echo 123 >> /users/jaalto/tmp/pm-biff.log"
MATCHMATCH: : is not an identifieris not an identifier

procmail: Program failure (1) of " echo 123 >> /users/jaalto/tmp/pm-biff.log"
procmail: No match on " echo 123 >> /users/jaalto/tmp/pm-biff.log"


    On the other, the identical script in HP-UX creator B.10.20 procmail 
v3.11pre7

procmail: Executing "which,echo"
procmail: Assigning "e=/bin/echo"
procmail: Assigning "b=/users/jaalto/tmp/pm-biff.log"
procmail: Executing " echo 123 >> $b"
procmail: Assigning "LASTFOLDER= echo 123 >> $b"
procmail: Executing " echo 123 >> /users/jaalto/tmp/pm-biff.log"
procmail: Match on " echo 123 >> /users/jaalto/tmp/pm-biff.log"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
 Subject: test
  Folder: /dev/null                                                        1613

    This is complete mystery to me what the

        MATCHMATCH: : is not an identifieris not an identifier

    indicate? if i remove the ">>" Then it doesn't signal the error. Even
    this command would fail:

        dummy = `echo 123 >> $b`

        procmail: Executing "echo 123 >> $b"
        MATCH: is not an identifier
        procmail: Assigning "dummy="
    
    jari

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