On Mon, Apr 06, 2009 at 11:36:32PM +0200, mouss wrote:
> Bryce Nesbitt a ??crit :
> > Sure, I 'm fighting the system. But I'm willing to alter the system
> > also so there is less fighting :-).
> >
> > And there IS a reason to prefer one over the other:
> > neatness in a large aliases file, and
Bryce Nesbitt a écrit :
> Sure, I 'm fighting the system. But I'm willing to alter the system
> also so there is less fighting :-).
>
> And there IS a reason to prefer one over the other:
> neatness in a large aliases file, and clean documentation.
> When things are lined up in columns it is easi
> Mouss wrote:
> you are fighting against the system. and usually at least, the system
> wins and you lose.
>
> there is no reason to prefer:
>
> joe jim # blah blah
>
> to
>
> # blah blah
> joejim
Sure, I 'm fighting the system. But I'm willing to alter the system
also so there is less fi
Bryce Nesbitt a écrit :
> Here is try two at the end of line comment script for /etc/aliases. Can
> anyone do this more elegantly?
>
> #!/bin/sh
> # Created so we can have end of line comments in /etc/aliases
> sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ;
> /usr/sbin/sendmail -bi -oA/
On Tue, Mar 31, 2009 at 10:59:41AM -0700, Bryce Nesbitt wrote:
> Here is try two at the end of line comment script for /etc/aliases. Can
> anyone do this more elegantly?
>
> #!/bin/sh
> # Created so we can have end of line comments in /etc/aliases
> sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/ali
Bryce Nesbitt:
> Here is try two at the end of line comment script for /etc/aliases. Can
> anyone do this more elegantly?
>
> #!/bin/sh
> # Created so we can have end of line comments in /etc/aliases
> sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ;
> /usr/sbin/sendmail -bi -oA/tmp/alias
Here is try two at the end of line comment script for /etc/aliases. Can
anyone do this more elegantly?
#!/bin/sh
# Created so we can have end of line comments in /etc/aliases
sed 's/#.*$//;/^$/d' < /etc/aliases > /tmp/aliases_tmp ;
/usr/sbin/sendmail -bi -oA/tmp/aliases_tmp ; mv /tmp/aliases_tmp.
On 26-Mar-2009, at 18:23, Bryce Nesbitt wrote:
Would anyone else appreciate end of line comments, as an extension to
/etc/aliases and *.pcre? What character should introduce such
comments?
Actually? No. I find end-of-line comments to be far more trouble
than they are worth.
# 20090101
Bryce Nesbitt a écrit :
> 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
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
administ
Bryce Nesbitt wrote:
Dear Postfix Experts,
Is there a way to get a pipe going to newaliases / sendmail -I / postalias?
I felt a strong need to have end of line comment characters in
/etc/aliases ;-). So my first shot at that was:
sed 's/#.*$//' aliases | newalises
Which failed spectacula
Bryce Nesbitt:
> Dear Postfix Experts,
>
> Is there a way to get a pipe going to newaliases / sendmail -I / postalias?
All the supported features are in the DOCUMENTATION.
Wietse
> I felt a strong need to have end of line comment characters in
> /etc/aliases ;-). So my first shot at t
12 matches
Mail list logo