On Fri, May 12, 2017 at 09:39:21AM -0400, Wietse Venema wrote:
> Geert Stappers:
> >
> > Hi,
> >
> > In postfix configuration files we have
> >
> > #
> > keyword = value
> > keyword2 = some value
> > keyword3 = multi physical line
> > single logical line
> > keyword4 = also
> >multi line
Geert Stappers:
>
> Hi,
>
> In postfix configuration files we have
>
> #
> keyword = value
> keyword2 = some value
> keyword3 = multi physical line
> single logical line
> keyword4 = also
>multi line
>stil keyword4
> keyword5 = foo
> #
>
> I want to remove keyword4 with sed(1).
Why
On 12 May 2017 at 12:56, Geert Stappers wrote:
>
> ...
>
>
>
> sed --silent '/^uucp/{:a;N;/^ +/ba};p'
>
> /etc/postfix/master.cf
>
> Yields _all_ lines, expected/wanted is
>
> uucp unix - n n - - pipe
> flags=Fqhu user=uucp
Hi,
In postfix configuration files we have
#
keyword = value
keyword2 = some value
keyword3 = multi physical line
single logical line
keyword4 = also
multi line
stil keyword4
keyword5 = foo
#
I want to remove keyword4 with sed(1).
At