On Tue, 2018-05-29 at 10:49 +0200, Stefan Förster wrote:
> * Dirk Stöcker <post...@dstoecker.de>:
> > On Mon, 28 May 2018, Viktor Dukhovni wrote:
> > 
> > > > It might be useful, but probably not, to have a version of
> > > > postconf -n that showed the default value along sinde the
> > > > changed value:
> > > 
> > > join <(postconf -n) <(postconf -d | sed 's/=/(default:/; s/$/)/')
> > 
> > Do you maybe also have a command to show only changed parameters?
> > 
> > Something like postconf -n, but dropping everything identical to
> > default.
> 
> You can get changed parameters that are at their default value with:
> 
> comm -1 -2 <(postconf -n) <(postconf -d)

FWIW, I had to use this:

comm -1 -2 <(postconf -n|sort) <(postconf -d|sort)

-Jim P.

Reply via email to