On 12 May 2017 at 12:56, Geert Stappers <[email protected]> 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 argv=uux -r -n -z -a$sender - $nexthop!rmail > ($recipient) > > > How to get that result?? >
Not a postfix question, but this should work:
sed --silent '/^uucp/{:a;N;/^ +/ba;p}'
/etc/postfix/master.cf
