On Fri, 2011-01-21 at 20:57:18 -0800, Walter Pinto wrote:

> I used the following command to determine what needed to be removed
> from my main.cf:
> 
> postconf -d > defaultcfg && postconf -n > customcfg && perl -ne 'print
> if ($seen{$_} .= @ARGV) =~ /10$/' customcfg defaultcfg

FWIW, an untested, less verbose alternative:

% (postconf -d ; postconf -n) | sort | uniq -d

-- 
Sahil Tandon <sa...@freebsd.org>

Reply via email to