Changes between Initial Version and Version 1 of Ticket #60051, comment 1


Ignore:
Timestamp:
Feb 7, 2020, 1:38:58 PM (5 years ago)
Author:
bardeau
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60051, comment 1

    initial v1  
    1 This comes from an attempt to create a shell utility which is able to indicate if a program version is lower than some reference version. namely:
     1This comes from an attempt to create a shell utility which is able to indicate if a program version is lower than some reference version. Namely:
    22{{{
    33    verle() {
     
    1717
    1818{{{
    19 if verlt "4.8.0" "4.70"; then
     19if verlt "4.8.0" "4.7.0"; then
    2020...
    2121}}}
     
    2323In the past we used the syntax
    2424{{{
    25 if [ "4.8.0" "<" "4.70" ]; then
     25if [ "4.8.0" "<" "4.7.0" ]; then
    2626}}}
    2727