From owner-freebsd-ports@FreeBSD.ORG Thu Mar 15 23:32:07 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 883001065670 for ; Thu, 15 Mar 2012 23:32:07 +0000 (UTC) (envelope-from jos@catnook.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 154868FC1B for ; Thu, 15 Mar 2012 23:32:06 +0000 (UTC) Received: by eaaf13 with SMTP id f13so2312043eaa.13 for ; Thu, 15 Mar 2012 16:32:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=ZqfMnKa9FqnkWcZM437Pn0kyoXtnk66try+xBMEBLbc=; b=XUV3OjrZY1wIR7D1G4814FL0L0xVpn83LT/ra4qmNkT+mtw3IQtHONrQhCt5FsibVK GUWBaauXbWo4/3YO3oFybjiCeZT+O6wSIbvZ3f3jXppZ96iCTl4q3FVVykrYw1OqzIdb v3hpW+dynXO19qOwxNcq4LQbsIIW4OW3SU9zkN5bN18Gj38Oj9ofUApveTuORU6zIOhz ZWD0VPz4uSuB35LRJez6fTlZEoHWpJWMW58m0de3YayiZn+yyqv28BW9D5lWsvJSVE1i ZWSkDP4oDg1fZMR3bCIzmr6oZlIq6XAmP5nx5grdsDF+U0uPGqzjWcxgvwwECqxcYG// u+3A== MIME-Version: 1.0 Received: by 10.14.136.16 with SMTP id v16mr50235eei.126.1331854325897; Thu, 15 Mar 2012 16:32:05 -0700 (PDT) Received: by 10.14.94.199 with HTTP; Thu, 15 Mar 2012 16:32:05 -0700 (PDT) In-Reply-To: <4439998mwx.fsf@lowell-desk.lan> References: <4F60C059.7060904@FreeBSD.org> <44pqcd8yhd.fsf@lowell-desk.lan> <031222CBCF33214AB2EB4ABA279428A30107B5E9D2A6@SJCPMAILBOX01.citrite.net> <44d38d8qad.fsf@lowell-desk.lan> <447gyl8nss.fsf@lowell-desk.lan> <4439998mwx.fsf@lowell-desk.lan> Date: Thu, 15 Mar 2012 16:32:05 -0700 Message-ID: From: Jos Backus To: "freebsd-ports@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnNNq7AuDE+nuzf2CF+Pj2EcfacB2LZthKfZRGp8I3IeHIbX0/P6cfoGpAsLO6UcuAfHsXg Cc: Oleg Moskalenko Subject: Re: CFT: new BSD-licensed sort available X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 23:32:07 -0000 On Thu, Mar 15, 2012 at 4:27 PM, Lowell Gilbert wrote: > Lowell Gilbert writes: > >> Lowell Gilbert writes: >> >>> Oleg Moskalenko 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