CFT: new BSD-licensed sort available

Jos Backus jos at catnook.com
Thu Mar 15 23:32:07 UTC 2012


On Thu, Mar 15, 2012 at 4:27 PM, Lowell Gilbert
<freebsd-ports-local at be-well.ilk.org> wrote:
> Lowell Gilbert <freebsd-ports-local at be-well.ilk.org> writes:
>
>> Lowell Gilbert <freebsd-ports-local at be-well.ilk.org> writes:
>>
>>> Oleg Moskalenko <oleg.moskalenko at 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.
>>
>>>    Updating the ports index ... Generating INDEX.tmp - please wait..
>>>    sort: 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
Jos Backus
jos at catnook.com


More information about the freebsd-ports mailing list