Denny Schierz
2011-Jun-15 12:50 UTC
[Dovecot] doveadm who: Please Headline to STDout, not to STDERR
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20110615/766467fe/attachment-0002.bin>
Timo Sirainen
2011-Jun-15 13:25 UTC
[Dovecot] doveadm who: Please Headline to STDout, not to STDERR
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
Possibly Parallel Threads
- Howto change @article.article.headline to @article.headline ?
- Re: Adding a new virtual block device to a guest
- 1.2.14 --- auth(default) Error: LDAP: Connection lost to LDAP server, reconnecting
- [Bug 2215] New: Key fingerprint headline slightly broken with ED25519
- Finding Confidence Intervals