how to code a "less than" with strings
I have variables of the form
1.0.1a 1.0.2a 1.0.2b how do I code a greater than or less than for this? basic I need a if var1 < "or equal to" var2, then do stuff fi |
Do you have a particular language in mind? In Perl the lt operator will do what you want.
|
In bash,
Code:
|
All times are GMT -5. The time now is 07:51 PM. |