All your answers were helpful. I thought a report would be useful to others with the same question.
PHV - CASE appears to exist to provide multiple 'exits' depending various values of <substring>. As I was only after a YES or NO result I decided not to use this. But prompted by your...
Does anyone know how to write in a Korn shell script -
if <VARIABLE> ends in <substring> then...
I am trying to get the same result as I would with gre syntax -
VARIABLE | grep -v substring$
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.