So I am not used to shell scripting. I have a ksh script that has an if coniditon similar to below.
if [[ "asdasd" -eq "asdas()d" ]]; then
However when this runs it complains that
./closedown[36]: asdas()d: unexpected `('
I tried escaping it as such
if [[ "asdasd" -eq "asdas\(\)d" ]]; then
But then it complains about
./closedown[36]: asdas\(\)d: unexpected `\'
Hoping someone can help me out here, cheers