to be honest i use fedora but the script to write is purely distro independent.. so if wget abc.2.3.tar.gz .... how to check 2.3. part in this string in bash.. as its the requirement