Hi
I have 2 variables in my shell script :-
$var1 and $var2
I know that they are the same length.
I don't know what that length is.
How go I compare them, ignoring the last character in both ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.