14,000 hints and counting!

The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create an AND using ORs and NOTs
Authored by: Gabriel on May 12, '05 02:50:43PM

Here's a way to get an AND using only ORs and NOTs
If I remember my logic correctly DeMorgan's law states that

A AND B = (NOT ((NOT A) OR (NOT B)))
This basically means that if either A or B is false than the whole statement is false, which is the same as saying A AND B is true. So assuming that spotlight doesn't support ANDs you can create one by saying:

(-((-fish)|(-cat)))

Unfortunately I don't have my mac with me to test this - hopefully Spotlight supports nested statements.

Create an AND using ORs and NOTs
Authored by: lallmen on May 12, '05 03:39:03PM

Just out of curiosity, why do not simply use:

fish&cat

Create an AND using ORs and NOTs
Authored by: strikeman on May 12, '05 08:42:47PM
The default behaviour is AND ie typing
``fish cat``
is the same as
``fish AND cat``
It works, but it's kludgy
Authored by: Lectrick on May 13, '05 12:17:52AM

Either it works (I checked), or it's just doing a straight-up AND between "fish" and "cat" and ignoring the rest...

an AND is simply a space, of course.

---
In /dev/null, no one can hear you scream