[Dovecot] doveadm who: Please Headline to STDout, not to STDERR

Timo Sirainen tss at iki.fi
Wed Jun 15 16:25:11 EEST 2011


On 15.6.2011, at 15.50, Denny Schierz wrote:

> I've created a small script to get a sum from the users and sessions
> (table username and table "#"), but it is annoying that the headline
> "username   # proto (pids) (ips)" goes to STDERR, but the normal output
> to STDOUT.
> 
> It would be nice, if both goes to the same STD :-)

That prevents sorting the output. You can always 2>&1




More information about the dovecot mailing list