From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cedric Vivier" Subject: Re: [PATCH] use natural ordering to display list of branches. Date: Sat, 7 Jun 2008 02:13:36 +0200 Message-ID: References: <484969F0.1030704@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "Brandon Casey" , "Paolo Bonzini" , git@vger.kernel.org To: "Johannes Schindelin" X-From: git-owner@vger.kernel.org Sat Jun 07 02:14:33 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4m4l-0004R3-MT for gcvg-git-2@gmane.org; Sat, 07 Jun 2008 02:14:32 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753829AbYFGANi (ORCPT ); Fri, 6 Jun 2008 20:13:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753822AbYFGANi (ORCPT ); Fri, 6 Jun 2008 20:13:38 -0400 Received: from wa-out-1112.google.com ([209.85.146.180]:62305 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbYFGANh (ORCPT ); Fri, 6 Jun 2008 20:13:37 -0400 Received: by wa-out-1112.google.com with SMTP id j37so914147waf.23 for ; Fri, 06 Jun 2008 17:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=DappXWiozFjErRORCSu8tF0kuymLJV8svu9UmuAd/KQ=; b=XORrTUVDukQhvftmYx2L9dLWTnk4nPRsP5248axxEuvv8cOTO5EzCtH2ArZWbW7TFA Q5kbGMcW3RaobpqmA46t+fqkDOZ0eWV5g8XXPilF3lgHSXfVCzruLQRwDGy/MJOE82+Z CcwK3Ep13HypHYH1G4swr5V1Ctz+fzNFHAgFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=JNFG306MrkVizuSmU5Eo3mbZmorFB1ay4r48SgS2IxjZy3dThAABCv/MQOBW3rzMy1 +uwhNYmGE9XMcd/dHZm67dg7XsSnvC2a3Q3dFuMEl5ZUaHecK5LwF9f5Vwq8Tg01zlyo sEzhaR84PbfJ8l4FWwsyG/wKafGx+RioPrhT4= Received: by 10.114.161.11 with SMTP id j11mr906235wae.105.1212797617206; Fri, 06 Jun 2008 17:13:37 -0700 (PDT) Received: by 10.115.33.3 with HTTP; Fri, 6 Jun 2008 17:13:36 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: 684b0cc6a5791fce Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Sat, Jun 7, 2008 at 1:06 AM, Johannes Schindelin wrote: >> On Fri, Jun 6, 2008 at 11:04 PM, Brandon Casey wrote: >> > But can't that be just as easily done by piping through sort? (I >> > understand there is a platform which lacks the sort utility, boohoo) >> >> Yes, but sort does not have a natural sort option afaik. > > sort -n Hi! It is not natural sort but usual boring non-natural numeric sort ;) With the use-case in original post the list would appear exactly the same than with strcmp sort.