Hallo,
Perhaps a simple one, but I could do with a pointer here.
I am trying to match the string "something" including the "'s.
if [ "$variable" = ""something""]
then
exec something
else
something else
fi
But I keep getting "Too many arguments" error. Is there a simple way to match the "something" , including the ""s
Perhaps a simple one, but I could do with a pointer here.
I am trying to match the string "something" including the "'s.
if [ "$variable" = ""something""]
then
exec something
else
something else
fi
But I keep getting "Too many arguments" error. Is there a simple way to match the "something" , including the ""s