[Dovecot] Sort output of dovecot -n alphabetically?

Charles Marcus CMarcus at Media-Brokers.com
Fri May 23 02:04:05 EEST 2008


On 5/22/2008, Bjorge Dijkstra (bjd at jooz.net) wrote:
> The following seems to work reasonably well:
> dovecot -n | sed -n '1h;2,$H;${g;s/\n /xnlx/g;p}' | sort | sed 's/xnlx/\n/g'

Sorry... this shoul dbe done as part of the command itself - I don't 
fancy using a hack like that...

I'll wait and see if Timo is willing to do it - hopefully he'll see the 
value - if not...

-- 

Best regards,

Charles


More information about the dovecot mailing list