Bash: compare x.yy z.kk

From: patrick carosso (carossopatrick_at_yahoo.it)
Date: 12/18/04

  • Next message: William Park: "Re: Bash: compare x.yy z.kk"
    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!


  • Next message: William Park: "Re: Bash: compare x.yy z.kk"