Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139009 - net-mail/qmailanalog sort command does not understand options
Summary: net-mail/qmailanalog sort command does not understand options
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 277919 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-03 07:57 UTC by Andreas Korsten
Modified: 2016-05-06 08:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***