I was doing greping of data from a output string and using cut -d -f2 to get the value out . Then using this variable to check whether it is equal to 'N' but when i run this ksh script ,it gave me an error saying Y=N bad number. How do i write the syntax to compare a string variable ?
Original code
-------------------
if the errorind variable contains maybe =Y .
if((${errorind} -eq 'N')) THEN