Hi Chet, et al., Given that sort(1GNU) now has a sort-by-version-ordering (sort -V), it would seem reasonable to do version comparisons without having to do a series of fork & execs. In other words, abbreviate this:
min_os_ver=` printf '2.6.27\n%s\n' "$LINUXRELEASE" | sort -V | head -1` if test "X$min_os_ver" = "X2.6.27" ; then into something like this: if test "2.6.27" -Vle "$LINUXRELEASE" ; then or add a different operator to [[ ]] contexts?