Forum: Legacy and Other Languages Jun 15th, 2005 |
| Replies: 4 Views: 74,633 How to compare a number stored as string to an integer value in shell scripting? Here is what I have,
if [$temp -ge 2.5] then;
when I run the above code, it gives the error as "Integer... |