grep <any word> ~/.pan/messages/cache -r or grep '<any expression>' ~/.pan/messages/cache -r There's a _lot_ of messages in that there cache right now. Can one do Boolean? -- tinmimus99@hotmail.com smeeter 11 or maybe 12 mp 10 mhm 29x13 When a system is set up to accomplish some goal, a new entity has come into being--the system itself. No matter what the "goal" of the system, it immediately begins to exhibit system behavior; that is, to act according to the general laws that govern the operation of all systems. Now the system itself has to be dealt with. < _Systemantics_
mimus wrote: > grep <any word> ~/.pan/messages/cache -r > > or > > grep '<any expression>' ~/.pan/messages/cache -r > > There's a _lot_ of messages in that there cache right now. > > Can one do Boolean? > Sure, but one might end up pointy-sticked to the nearest tree. -- nuts
"mimus" <tinmimus99@hotmail.com> wrote in message news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... > grep <any word> ~/.pan/messages/cache -r > > or > > grep '<any expression>' ~/.pan/messages/cache -r > > There's a _lot_ of messages in that there cache right now. > > Can one do Boolean? What is a Boolean? > > -- > tinmimus99@hotmail.com > > smeeter 11 or maybe 12 > > mp 10 > > mhm 29x13 > > When a system is set up to accomplish some goal, a > new entity has come into being--the system itself. > No matter what the "goal" of the system, it > immediately begins to exhibit system behavior; that > is, to act according to the general laws that govern > the operation of all systems. Now the system itself > has to be dealt with. > > < _Systemantics_ >
On Sat, 26 Jul 2008 10:34:47 -0400, Shirley wrote: > "mimus" <tinmimus99@hotmail.com> wrote in message > news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... > >> grep <any word> ~/.pan/messages/cache -r >> >> or >> >> grep '<any expression>' ~/.pan/messages/cache -r >> >> There's a _lot_ of messages in that there cache right now. >> >> Can one do Boolean? > > What is a Boolean? Use logical relations in one's search-expression, like AND, OR and NOT-- really, all you need is an understood default OR relationship between search-terms; a NOT operator; and parenthetic grouping-- for example, "a AND b" is equivalent to "NOT ( NOT a OR NOT b)" . . . . -- tinmimus99@hotmail.com smeeter 11 or maybe 12 mp 10 mhm 29x13 See _Laws of Form_, Chapters 1 through 10 and Appendix 2, first backward and then forward.
On Sat, 26 Jul 2008 10:56:39 -0400, mimus wrote: > On Sat, 26 Jul 2008 10:34:47 -0400, Shirley wrote: > >> "mimus" <tinmimus99@hotmail.com> wrote in message >> news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... >> >>> grep <any word> ~/.pan/messages/cache -r >>> >>> or >>> >>> grep '<any expression>' ~/.pan/messages/cache -r >>> >>> There's a _lot_ of messages in that there cache right now. >>> >>> Can one do Boolean? >> >> What is a Boolean? > > Use logical relations in one's search-expression, like AND, OR and NOT-- > really, all you need is an understood default OR relationship between > search-terms; a NOT operator; and parenthetic grouping-- for example, "a > AND b" is equivalent to "NOT ( NOT a OR NOT b)" . . . . "NOT ( NOT a NOT b )", I meant, of course, since we were assuming a default OR relationship. (Alas, "Time is short, and wits are fleeting" . . . . ) -- tinmimus99@hotmail.com smeeter 11 or maybe 12 mp 10 mhm 29x13 We'd be better off in a mental home than we are here: a quiet garden, little white cells, nurses, supervised walks. < _Solaris_
On Sat, 26 Jul 2008 10:56:39 -0400, in the land of alt.alien.vampire.flonk.flonk.flonk, mimus <tinmimus99@hotmail.com> got double secret probation for writing: >On Sat, 26 Jul 2008 10:34:47 -0400, Shirley wrote: > >> "mimus" <tinmimus99@hotmail.com> wrote in message >> news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... >> >>> grep <any word> ~/.pan/messages/cache -r >>> >>> or >>> >>> grep '<any expression>' ~/.pan/messages/cache -r >>> >>> There's a _lot_ of messages in that there cache right now. >>> >>> Can one do Boolean? >> >> What is a Boolean? > >Use logical relations in one's search-expression, like AND, OR and NOT-- >really, all you need is an understood default OR relationship between >search-terms; a NOT operator; and parenthetic grouping-- for example, "a >AND b" is equivalent to "NOT ( NOT a OR NOT b)" . . . . AWK is better at that -- A Number 1, Grade A, Prime USDA 'Ratz Accept No Substitute
On Sat, 26 Jul 2008 13:05:10 -0700, Aratzio wrote: > On Sat, 26 Jul 2008 10:56:39 -0400, in the land of > alt.alien.vampire.flonk.flonk.flonk, mimus <tinmimus99@hotmail.com> > got double secret probation for writing: > >> On Sat, 26 Jul 2008 10:34:47 -0400, Shirley wrote: >> >>> "mimus" <tinmimus99@hotmail.com> wrote in message >>> news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... >>> >>>> grep <any word> ~/.pan/messages/cache -r >>>> >>>> or >>>> >>>> grep '<any expression>' ~/.pan/messages/cache -r >>>> >>>> There's a _lot_ of messages in that there cache right now. >>>> >>>> Can one do Boolean? >>> >>> What is a Boolean? >> >> Use logical relations in one's search-expression, like AND, OR and >> NOT-- really, all you need is an understood default OR relationship >> between search-terms; a NOT operator; and parenthetic grouping-- for >> example, "a AND b" is equivalent to "NOT ( NOT a OR NOT b)" . . . . > > AWK is better at that (g)awk sucks almost as badly as regex. OK, maybe worse. A whole new goddam language, just to do a Boolean search of a file (and only gawk apparently _adds_ Boolean functions _not found in awk_, like and(), or() and xor()). I wanna simple ordinary normal Boolean file- and directory-search, dammit, just like any search-engine worth its bits, eg (and using C's relational operators) the rather paranoid boogrep 'mimus && ! tinmimus99@hotmail.com' ~/.pan/messages/cache -r to look for all downloaded posts mentioning "mimus" but not with my munged email, to look for bastards talking about me behind my back. I think I'm going to have to roll my own <sigh>. Oh, well, maybe it'll be acceptable to the bash crowd-- I assume there's a protocol for proggie-addition (along with some fucked-up preferred program-style, no doubt . . . ). -- tinmimus99@hotmail.com smeeter 11 or maybe 12 mp 10 mhm 29x13 Somebody had to do it. < George Spencer Brown's reason for writing _Laws of Form_
On Sat, 26 Jul 2008 16:27:42 -0400, in the land of alt.alien.vampire.flonk.flonk.flonk, mimus <tinmimus99@hotmail.com> got double secret probation for writing: >On Sat, 26 Jul 2008 13:05:10 -0700, Aratzio wrote: > >> On Sat, 26 Jul 2008 10:56:39 -0400, in the land of >> alt.alien.vampire.flonk.flonk.flonk, mimus <tinmimus99@hotmail.com> >> got double secret probation for writing: >> >>> On Sat, 26 Jul 2008 10:34:47 -0400, Shirley wrote: >>> >>>> "mimus" <tinmimus99@hotmail.com> wrote in message >>>> news:A72dnZx8TKY_OhfVnZ2dnUVZ_oninZ2d@giganews.com... >>>> >>>>> grep <any word> ~/.pan/messages/cache -r >>>>> >>>>> or >>>>> >>>>> grep '<any expression>' ~/.pan/messages/cache -r >>>>> >>>>> There's a _lot_ of messages in that there cache right now. >>>>> >>>>> Can one do Boolean? >>>> >>>> What is a Boolean? >>> >>> Use logical relations in one's search-expression, like AND, OR and >>> NOT-- really, all you need is an understood default OR relationship >>> between search-terms; a NOT operator; and parenthetic grouping-- for >>> example, "a AND b" is equivalent to "NOT ( NOT a OR NOT b)" . . . . >> >> AWK is better at that > >(g)awk sucks almost as badly as regex. OK, maybe worse. A whole new >goddam language, just to do a Boolean search of a file (and only gawk >apparently _adds_ Boolean functions _not found in awk_, like and(), or() >and xor()). > >I wanna simple ordinary normal Boolean file- and directory-search, dammit, >just like any search-engine worth its bits, eg (and using C's relational >operators) the rather paranoid > >boogrep 'mimus && ! tinmimus99@hotmail.com' ~/.pan/messages/cache -r > >to look for all downloaded posts mentioning "mimus" but not with my munged >email, to look for bastards talking about me behind my back. > >I think I'm going to have to roll my own <sigh>. > >Oh, well, maybe it'll be acceptable to the bash crowd-- I assume there's >a protocol for proggie-addition (along with some fucked-up preferred >program-style, no doubt . . . ). AWK still works better. If you know C you know AWK you just don't have to declare your variables... -- A Number 1, Grade A, Prime USDA 'Ratz Accept No Substitute