Date: Wed, 23 Dec 2009 20:20:02 GMT From: Stepan Koltsov <yozh@mx1.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/141920: sort -k 3,1g is very slow Message-ID: <200912232020.nBNKK2Ki025875@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/141920; it has been noted by GNATS. From: Stepan Koltsov <yozh@mx1.ru> To: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/141920: sort -k 3,1g is very slow Date: Wed, 23 Dec 2009 22:42:54 +0300 On Wed, Dec 23, 2009 at 22:05, Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> wrote: > Stepan Koltsov <yozh@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? You are right. I thought it means sort by 1st, then by 3rd. So, I think warning should be printed (or error). S.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912232020.nBNKK2Ki025875>