Re: [PATCH] use natural ordering to display list of branches.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Cedric Vivier" <cedricv@xxxxxxxxxx> writes:

> On Sat, Jun 7, 2008 at 1:06 AM, Johannes Schindelin
> <Johannes.Schindelin@xxxxxx> wrote:
>>> On Fri, Jun 6, 2008 at 11:04 PM, Brandon Casey <casey@xxxxxxxxxxxxxxx> 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.

Somebody suggested strvercmp(); how does the natcmp() compare with it?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux