[Dovecot] doveadm who: Please Headline to STDout, not to STDERR
15 Jun
2011
15 Jun
'11
3:50 p.m.
hi,
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 :-)
cu denny
15 Jun
15 Jun
4:25 p.m.
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
4910
Age (days ago)
4910
Last active (days ago)
1 comments
2 participants
participants (2)
-
Denny Schierz
-
Timo Sirainen