The -eq
operator is defined for integers:
INTEGER1 -eq INTEGER2
https://man7.org/linux/man-pages/man1/test.1.html
So the results you are seeing are expected.
CLICK HERE to find out more related problems solutions.
The -eq
operator is defined for integers:
INTEGER1 -eq INTEGER2
https://man7.org/linux/man-pages/man1/test.1.html
So the results you are seeing are expected.
CLICK HERE to find out more related problems solutions.