On Fri, 2009-07-10 at 22:42 +0200, Benny Pedersen wrote: > On Fri, July 10, 2009 18:17, Karsten Bräckelmann wrote: > > Anyway, as I've told you before with some hastily scribbled logic, you > > seriously should read up on De Morgan's law. The above meta equals ^^^^^^^^^^^^^^^ > > ! ( __URIBL_BLACK && __URIBL_GREY ) > > are you sure this logic holds in sa ?
Logic holds. No matter where. Wow. That's basic Boolean logic. You might want to get a pen and paper, and write down a trivial truth table. What you probably meant is "neither of these", which is "not (any of these)". That's !(A||B), which is NOT the same as (!A||!B), as you used. Yes, that's De Morgan's law. Mind actually reading up on the explicit and glaring hints I provide? I'll refrain from picking your remaining comments to pieces. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}