Hiya Folks,
Wondering if anybody has ran into this before, it's driving me nuts! Searching on this in the forums didn't turn up anything that was any help.
My script is going through a csv file I have, running ksh under Cygwin. The code I have is...
REQUEST_TYPE=$(grep REQ $FILES | awk -F, '{print $3}')
<snip>
if [[ $REQUEST_TYPE = "New Request - Id access" ]]; then
The only problem is... it's actually in the file as
New Request <96> Id access
And shows up with an echo as
New Request Id access
Anybody have any idea on how to make that if statement work?
Thanks guys!! I unfortunately do not have control over the installation of components into Cygwin but I was able to use the solution provided by Shell Life. Thanks so much! This has been bothering me all morning.