I have a Bash script which compare Versionnumbers. But I need to compare even with a letter in it.
ver_a="1.0.0d4"
ver_b="1.0.0d5"
if [[ "$ver_a" -lt "$ver_b" ]]; then
echo "New Version available!"
fi
This sample surely not works. Whats the correct way to process these letter?