PR Code

PR Code – Digital Solutions

Hello and welcome to PR Code
I am an experienced digital engineer that has a wide varied knowledge base that I like to share. Have a look at my blog to find the solution to your problems.

Bash compare version numbers

Here is a little script to help compare version numbers in the format X.X.X using bash/shell. This can be good if you are trying to find out which version is higher for something like an upgrade. You can then use this as an iffe.