Changes between Initial Version and Version 1 of Ticket #60051, comment 1
- Timestamp:
- Feb 7, 2020, 1:38:58 PM (5 years ago)
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: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: 2 2 {{{ 3 3 verle() { … … 17 17 18 18 {{{ 19 if verlt "4.8.0" "4.7 0"; then19 if verlt "4.8.0" "4.7.0"; then 20 20 ... 21 21 }}} … … 23 23 In the past we used the syntax 24 24 {{{ 25 if [ "4.8.0" "<" "4.7 0" ]; then25 if [ "4.8.0" "<" "4.7.0" ]; then 26 26 }}} 27 27