Bash: compare x.yy z.kk
From: patrick carosso (carossopatrick_at_yahoo.it)
Date: 12/18/04
- Previous message: nero: "Re: Programming X11 fullscreen in Twinview mode"
- Next in thread: William Park: "Re: Bash: compare x.yy z.kk"
- Reply: William Park: "Re: Bash: compare x.yy z.kk"
- Reply: Chris F.A. Johnson: "Re: Bash: compare x.yy z.kk"
- Reply: patrick carosso: "Re: Bash: compare x.yy z.kk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Dec 2004 10:03:00 GMT
Hello,
what is the easiest way to compare two
version numerbers in the form
x.yy
z.kk
in a bash script? I need to know which is greater.
(The first version number is stored in the first line a
file)
Thanks!
- Previous message: nero: "Re: Programming X11 fullscreen in Twinview mode"
- Next in thread: William Park: "Re: Bash: compare x.yy z.kk"
- Reply: William Park: "Re: Bash: compare x.yy z.kk"
- Reply: Chris F.A. Johnson: "Re: Bash: compare x.yy z.kk"
- Reply: patrick carosso: "Re: Bash: compare x.yy z.kk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]