Hi I tried to use this version compare function provided compare-two-strings-in-version format but I am having problem with SunOS 5.10 sun4v when comparing unequal strings like 1.22 and 1.21 compver.sh: line 55: 10#(1.21) > 10#(1.22): syntax error in expression (error token is "(1.21) > 10#(1.22)") compver.sh: line 59: 10#(1.21) < 10#(1.22): syntax error in expression (error token is "(1.21) < 10#(1.22)")
This same script works fine in Linux (Linux 2.6.32-431.1.2.el6.x86_64 x86_64).
Thanks in advance