Logged In: NO

You appear to be working in COMMAND.COM (rather than
sh.exe), which doesn't handle single quotes and passes them
to grep unchanged. That's why grep will search for
occurrences of '<pattern>', quotes included.