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 > > stil keyword4 > > keyword5 = foo > > # > > > > I want to remove keyword4 with sed(1). > > Why not use existing functionality: > > # postconf -X keyword4 > > That will remove the entire multiline entry.
Yes, it does. Thanks. Groeten Geert Stappers -- Leven en laten leven