It can be difficult to search for Macintosh answers on Google because people spell “Mac OS X” so many ways. They use “MacOSX”, “MacOS X”, MacOS-X and “Mac OS X”. (“Mac OS X” is the official 3-word version according to Apple.)
To cast a wide net with Google searches, you search for “mac-os-x” with your other search terms. When you use dashes instead of spaces, Google is free to interpret them as either spaces or non-spaces. It will find all of the variations I pointed out above. You won’t miss the answer to your question just because you used a different variation than the person who wrote the answer.