misc/141920: sort -k 3,1g is very slow

Lowell Gilbert freebsd-bugs-local at be-well.ilk.org
Wed Dec 23 19:10:02 UTC 2009


The following reply was made to PR misc/141920; it has been noted by GNATS.

From: Lowell Gilbert <freebsd-bugs-local at be-well.ilk.org>
To: Stepan Koltsov <yozh at mx1.ru>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/141920: sort -k 3,1g is very slow
Date: Wed, 23 Dec 2009 14:05:52 -0500

 Stepan Koltsov <yozh at mx1.ru> writes:
 
 > 3. Run sort wih -k 3,1g:
 >
 > time cat txt | sort -k 3,1g > /dev/null
 >
 > It takes 4 seconds. It is too long.
 
 Does that actually mean anything useful?
 It's fields 3 to 1, right?


More information about the freebsd-bugs mailing list