Linux - Compare two versions of the same script
Still faced with the problem of having to compare two versions of the same script (see the article Linux - Comparing two folders/files in the console), this time we're going to consider that the file we need to compare is a Bash script and that we have two versions of it.
And that we may have made the two files evolve in different ways, i.e. that one or other, or even both, of the files may have been modified.
The aim is therefore to compare the versions and highlight the differences.