Noel Jones wrote:
> You can't pipe to newaliases.
> You can use a proto file with comments and some script to create the
> input file that newaliases requires.  This seems a natural for a
> Makefile.
>   -- Noel Jones
I was aiming for something that was "no mistakes" proof for other system
administrators.

Meaning:
1) /etc/aliases would be the file to edit (not some other file).
2) "newaliases" would still be the command to run.

The hack I came up with was /etc/aliases has comments.  /etc/newaliases
is my script.  Strips comments to a temporary file.  It then calls
"sendmail -I" to process the aliases.  Then it deletes the temp file. 

Not so elegant.
Would anyone else appreciate end of line comments, as an extension to
/etc/aliases and *.pcre?  What character should introduce such comments?

Reply via email to