Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 16:32:05 -0700
From:      Jos Backus <jos@catnook.com>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Cc:        Oleg Moskalenko <oleg.moskalenko@citrix.com>
Subject:   Re: CFT: new BSD-licensed sort available
Message-ID:  <CAETOPp2VPY3ryB5-s2Ysn4LToAKy536QAZ3b2=EuSd6ywtCu_g@mail.gmail.com>
In-Reply-To: <4439998mwx.fsf@lowell-desk.lan>
References:  <4F60C059.7060904@FreeBSD.org> <44pqcd8yhd.fsf@lowell-desk.lan> <CADLo83_r3SgYj6apifN6NTCwZ-ApYbLkyMOS5zcCmTFst_Vcow@mail.gmail.com> <031222CBCF33214AB2EB4ABA279428A30107B5E9D2A6@SJCPMAILBOX01.citrite.net> <44d38d8qad.fsf@lowell-desk.lan> <447gyl8nss.fsf@lowell-desk.lan> <4439998mwx.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 15, 2012 at 4:27 PM, Lowell Gilbert
<freebsd-ports-local@be-well.ilk.org> wrote:
> Lowell Gilbert <freebsd-ports-local@be-well.ilk.org> writes:
>
>> Lowell Gilbert <freebsd-ports-local@be-well.ilk.org> writes:
>>
>>> Oleg Moskalenko <oleg.moskalenko@citrix.com> writes:
>>>
>>>> There is no option "-2" in the new BSD sort or in the GNU sort. There =
is no such option in Posix standard, too.
>>>>
>>>> What is this option about, do we need to add something ?
>>>
>>> No, clearly I have misdiagnosed the problem.
>>> I'll take another look.
>>>
>>> Sorry for the confusion.
>>
>> I think I'll need to dig into portsdb itself a bit.
>>
>>> =A0 =A0Updating the ports index ... Generating INDEX.tmp - please wait.=
.
>>> =A0 =A0sort: invalid option -- 2
>>
>> I'll let you know what I find.
>
> This is taking longer than I had hoped; apparently I am handicapped by
> the fact that I do not know ruby at all. I am having difficulty finding
> a call out to the sort program, as opposed to sort routines implemented
> in ruby.

portsdb.rb:      open("| sort #{index_files}", 'r:utf-8') do |f|

Hth,
Jos
 _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



--=20
Jos Backus
jos at catnook.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAETOPp2VPY3ryB5-s2Ysn4LToAKy536QAZ3b2=EuSd6ywtCu_g>