Received: (at submit) by debbugs.gnu.org; 27 May 2020 15:03:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 11:03:10 2020 Received: from localhost ([127.0.0.1]:49767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1jdxaG-0000UG-Af for submit <at> debbugs.gnu.org; Wed, 27 May 2020 11:03:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:59322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <danie.dejager@HIDDEN>) id 1jduqb-0004Re-1U for submit <at> debbugs.gnu.org; Wed, 27 May 2020 08:07:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <danie.dejager@HIDDEN>) id 1jduqa-0005UK-TI for bug-coreutils@HIDDEN; Wed, 27 May 2020 08:07:48 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:46537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <danie.dejager@HIDDEN>) id 1jduqY-0008WE-UE for bug-coreutils@HIDDEN; Wed, 27 May 2020 08:07:47 -0400 Received: by mail-ed1-x530.google.com with SMTP id m21so3508847eds.13 for <bug-coreutils@HIDDEN>; Wed, 27 May 2020 05:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=striata.com; s=google3; h=mime-version:from:date:message-id:subject:to; bh=i8oZ5XcjeQ8SeYT8YHZyobNyelobPncbmFwISvyPVL0=; b=y+v7tXwjg4IzV6CBgFIUYmBs8kYqU2iB2fAMxssBaDYnaGo3tUoihj9BGJW2moRUBM K6RGsl2oj/fBHE3IcRve2nVt6lHx5O15pcXX59ZKHzaJn/YXGKBQ67uccskDtECI8kN8 bxOgObq24RFz/g4jtdbyeGFO/dSoDC5twvAAEoVY4P6P/7szDOsp9BU9BMLFRW0zDlBM 2FzkwN4Rs6GsK0bO6xR7K5T7+FO3zcCeZ3VwtAZSifSURT6iLb3qJZzpAce5RMnUcbvT 6fxv9kZuCb6MctojrQ1u1eoe3jhsxUZ/YnNKxhbhtdop8dPadK6pVGtA4+dQ8PbHqVAz YOIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=i8oZ5XcjeQ8SeYT8YHZyobNyelobPncbmFwISvyPVL0=; b=FBUGUeCXC17N3jbJQdgFX/8hBbnEmagvo+BmGHoTxThOTdvewQnxt7AN7x9q5hLwPR y1wCLl9A/YipFETp051hAx898ewq3qvSLLTJpsBiuZJMzhAIKfCcl/qFtJjVN1SrHqda 0UTzZOyVgkrksu40WetopDHp1L6UYoFE94A8oLp4StqJR5QjOIxdbxCTNpFfvEALqXO6 2ihpWZiUPx9SqeAjyy7e4xXty71E/bN0evgMoW9zShv4nc/a50fz+5+RV/AzCd3a0rVQ RJkMDTTx+rE1ZeLN8ZRZiNFK2xLrirkCB5ca5X/9VxdooFyDNNQxoRAjM6HcV6YHRz0K SK6Q== X-Gm-Message-State: AOAM532RymE07M7+1bGvJ0wrME1CG3qR39B0Mo78Wk8aWxazKAVv7Uq8 6od/W4SYNN4s3J/ugutpBIF6Xjl2bicRU1Hr5/IDN06cWVM= X-Google-Smtp-Source: ABdhPJwQwH/r3uEvYKruS9nd6CHckQZQeBtLt5PU4hMZqKRzwJ0dRh/+cni54ImB3mJaLgxc046el2zRLI/4E/ajO/c= X-Received: by 2002:a50:f40d:: with SMTP id r13mr22704929edm.93.1590581264170; Wed, 27 May 2020 05:07:44 -0700 (PDT) MIME-Version: 1.0 From: Danie de Jager <danie.dejager@HIDDEN> Date: Wed, 27 May 2020 14:07:32 +0200 Message-ID: <CAC6Wms4o6o0b-qYGE+hkRX5wpL=SiJ4HEezamKQHCrMmvwFNQA@HIDDEN> Subject: Possible bug with 'sort -Vr' version sorting To: bug-coreutils@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=danie.dejager@HIDDEN; helo=mail-ed1-x530.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 27 May 2020 11:03:07 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hi, I use sort -Vr to sort version numbers. I noticed this discrepancy on the latest kernel version from Centos 7.8. command to get output: # ls -t /boot/vmlinuz-* | sed "s/\/boot\/vmlinuz-//g" | grep -v rescue | sort -Vr 3.10.0-1127.el7.x86_64 3.10.0-1127.8.2.el7.x86_64 3.10.0-1062.18.1.el7.x86_64 I'd expect the middle value to be the highest version number. Is this by design or a bug? If it is a bug please let me know if I must log it somewhere. Version details: # sort --version sort (GNU coreutils) 8.22 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. Regards, Danie de Jager
Danie de Jager <danie.dejager@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#41563
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.