I want to check gcc version whether >= 9.1.
First, I type this shell:
$ gcc --version | grep gcc | awk '{print $3}'
I get following in my computer after I type above shell:
9.1.0
I know bash only can compare number of integer,
such as command "-gt".
I want to compare gcc which version >= 9.1 .
How do I do?