From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: shirish <shirishag75@gmail.com>
Subject: Re: Latest kernel shown at last
Date: Thu, 28 Feb 2008 11:41:14 +0100 [thread overview]
Message-ID: <20080228104114.GI350@thorin> (raw)
In-Reply-To: <20080228021018.ufh0qbr20wc8coww@webmail.spamcop.net>
On Thu, Feb 28, 2008 at 02:10:18AM -0500, Pavel Roskin wrote:
> >This is on grub2 (1.96+20080203-1ubuntu1) dunno whether its a bug
> >which should be filed in grub2 here or something which got messed up
> >while packaging it for ubuntu. Any help/guidance would be nice.
>
> Please note that 1 is less than 5. The Debian revision is compared as
> string, not as number.
>
> Correct comparing of Linux versions is very hard. At very least, all
> sequences of digits should be compared numerically. I don't think GNU
> sort can do that. And then there is an issue with comparing "-pre",
> "-rc", "-test", "-mm" and other suffixes. And the separators have
> different meanings - think of comparing 2.6.24-10 and 2.6.24.2-1.
>
> I was thinking of fixing it, but I'm not sure it can even be done in
> shell script. We may need to write a helper in C just for that, or
> resort to bashisms.
Okuji doesn't like bash scripts, but I really don't see what's the problem with
requiring bash just like you could require perl or python. Okuji, would you
reconsider about this?
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-02-28 10:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 7:00 Latest kernel shown at last shirish
2008-02-28 7:10 ` Pavel Roskin
2008-02-28 10:41 ` Robert Millan [this message]
2008-02-28 22:21 ` Yoshinori K. Okuji
2008-02-28 22:32 ` Pavel Roskin
2008-02-28 11:46 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080228104114.GI350@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=shirishag75@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.