* martin f. krafft:

> The file calls sendmail like this:
>
>     generate_email $oldrev $newrev $refname
>     | /usr/sbin/sendmail -t $envelopesender

The pipe is on the end of the first line.

> The first end-of-line needs to be escaped or else dash will barf.

This is a bug in dash, I'm afraid.  Here's an excerpt from the POSIX
shell grammar:

pipe_sequence    :                             command
                 | pipe_sequence '|' linebreak command
                 ;

newline_list     :              NEWLINE
                 | newline_list NEWLINE
                 ;
linebreak        : newline_list
                 | /* empty */
                 ;



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to