Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139009

Summary: net-mail/qmailanalog sort command does not understand options
Product: Gentoo Linux Reporter: Andreas Korsten <gentoo-bugs>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: mmokrejs, net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Korsten 2006-07-03 07:57:01 UTC
qmailanalog comes with a couple of shell scripts like zsenders, zrecipients etc.
which contain lines like:

( echo sbytes mess tries xdelay recipient
/var/qmail/bin/recipients | sort +4 ) | /var/qmail/bin/columnt

The sort command fails because "+4" is interpreted as a filename instead of a column. A (quick-and-dirty) patch can be found here:

http://www.korsten.org/misc/qmailanalog-sort.patch
Comment 1 Sean 2007-10-06 13:26:04 UTC
The link appears to be down, but here's another mention of it:

http://forum.qmailrocks.org/showthread.php?t=4835

Changing all the +N to -k N+1 worked for me.
Comment 2 Andreas Korsten 2007-10-06 13:57:18 UTC
(In reply to comment #1)
> The link appears to be down, but here's another mention of it:

It's up again.

> Changing all the +N to -k N+1 worked for me.

That's what I did.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-26 14:44:13 UTC
*** Bug 277919 has been marked as a duplicate of this bug. ***