1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Intelligent WebGlimpse archive searching at Kanga.Nu (was Re: [MUD&#45;Dev] Info about different skill systems) -->
<!--X-From-R13: X Q Znjerapr <pynjNhaqre.rate.ftv.pbz> -->
<!--X-Date: Thu, 7 Jan 1999 03:29:08 &#45;0800 -->
<!--X-Message-Id: 199901070022.QAA78516#under,engr.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Version.32.19990102005911.00f3e560#sendar,prophecy.lu -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Intelligent WebGlimpse archive searching at Kanga.Nu</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#under,engr.sgi.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00082.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00084.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00003.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00094.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00083">Author</A>
&nbsp;|&nbsp;<A HREF="#00083">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00083">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Intelligent WebGlimpse archive searching at Kanga.Nu (was Re: [MUD-Dev] Info about different skill systems)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Intelligent WebGlimpse archive searching at Kanga.Nu (was Re: [MUD-Dev] Info about different skill systems)</LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 06 Jan 1999 16:22:29 -0800</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sat, 02 Jan 1999 01:17:56 +0100 
Emil Eifrem&lt;emil#prophecy,lu&gt; wrote:

&gt; I have checked the archives, but didn't find any real explanations
&gt; about it. I may have missed it though, the lack of boolean search
&gt; options in the search engine tend to make exhaustive searches
&gt; tedious at best. 

Aaaargh.  This is an old flunk of mine.  I'd meant to add a help
page detailing how to do intelligent searches, and err, forgot.  You 
can use boolean logic in searches with WebGlimpse.

Quoting from <A  HREF="http://glimpse.cs.arizona.edu/glimpsehelp.html#sect11">http://glimpse.cs.arizona.edu/glimpsehelp.html#sect11</A>
(slightly reformatted):

--&lt;cut&gt;--

PATTERNS

glimpse supports a large variety of patterns, including simple
strings, strings with classes of characters, sets of strings, wild
cards, and regular expressions. (See LIMITATIONS.)

Strings

Strings are any sequence of characters, including the special
symbols `^' for beginning of line and `$' for end of line. The
following special characters ( `$', `^', `*', `[', `^', `|', `(',
`)', `!', and `\' ) as well as the following meta characters special
to glimpse (and agrep): `;', `,', `#', `&lt;', `&gt;', `-', and `.',
should be preceded by `\' if they are to be matched as regular
characters. For example, \^abc\ corresponds to the string ^abc\,
whereas ^abc corresponds to the string abc at the beginning of a
line.

Classes of characters

a list of characters inside [] (in order) corresponds to any
character from the list. For example, [a-ho-z] is any character
between a and h or between o and z. The symbol `^' inside []
complements the list. For example, [^i-n] denote any character in
the character set except character `i' to `n'. The symbol `^' thus
has two meanings, but this is consistent with egrep. The symbol `.' 
(don't care) stands for any symbol (except for the newline symbol).

Boolean operations

Glimpse supports an `AND' operation denoted by the symbol `;' an
`OR' operation denoted by the symbol `,', a limited version of a
'NOT' operation (starting at version 4.0B1) denoted by the symbol
`~', or any combination. For example, glimpse `pizza;cheeseburger'
will output all lines containing both patterns. glimpse -F
`gnu;\.c$' `define;DEFAULT' will output all lines containing both
`define' and `DEFAULT' (anywhere in the line, not necessarily in
order) in files whose name contains `gnu' and ends with .c. glimpse
`{political,computer};science' will match `political science' or
`science of computers'. The NOT operation works only together with
the -W option and it is generally applies only to the whole file
rather to individual records. It currently does not work with
approximate matching. Its output may sometimes seem
counterintuitive. Use with care. glimpse -W 'fame;~glory' will
output all lines containing 'fame' in all files that contain 'fame'
but do not contain 'glory'; This is the most common use of NOT, and
in this case it works as expected. glimpse -W '~{fame;glory}' will
be limited to files that do not contain both words, and will output
all lines containing one of them.

Wild cards

The symbol `#' is used to denote a sequence of any number (including
0) of arbitrary characters see LIMITATIONS). The symbol # is
equivalent to .* in egrep. In fact, .* will work too, because it is
a valid regular expression (see below), but unless this is part of
an actual regular expression, # will work faster. (Currently glimpse
is experiencing some problems with #.)

Combination of exact and approximate matching 

Any pattern inside angle brackets &lt;&gt; must match the text exactly
even if the match is with errors. For example, &lt;mathemat&gt;ics matches
mathematical with one error (replacing the last s with an a), but
mathe&lt;matics&gt; does not match mathematical no matter how many errors
are allowed. (This option is buggy at the moment.)

Regular expressions

Since the index is word based, a regular expression must match words
that appear in the index for glimpse to find it. Glimpse first
strips the regular expression from all non-alphabetic characters,
and searches the index for all remaining words. It then applies the
regular expression matching algorithm to the files found in the
index. For example, glimpse `abc.*xyz' will search the index for all
files that contain both `abc' and `xyz', and then search directly
for `abc.*xyz' in those files. (If you use glimpse -w `abc.*xyz',
then `abcxyz' will not be found, because glimpse will think that abc
and xyz need to be matches to whole words.) The syntax of regular
expressions in glimpse is in general the same as that for agrep. The
union operation `|', Kleene closure `*', and parentheses () are all
supported. Currently `+' is not supported. Regular expressions are
currently limited to approximately 30 characters (generally
excluding meta characters). Some options (-d, -w, -t, -x, -D, -I,
-S) do not currently work with regular expressions. The maximal
number of errors for regular expressions that use `*' or `|' is
4. (See LIMITATIONS.)

--&lt;cut&gt;--

WebGlimpse is based atop Glimpse.  All the above instructions for
doing intelligent searches using boolean logic work under WebGlimpse 
at Kanga.Nu.  

&gt; (Did you guys *know* how often you say 'skill tree'?)

Am I allowed to use commas in the final figure?

-- 
J C Lawrence                              Internet: claw#kanga,nu
(Contractor)                             Internet: coder#kanga,nu
---------(*)                    Internet: claw#under,engr.sgi.com
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00094" HREF="msg00094.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></strong>
<ul compact><li><em>From:</em> Marian Griffith &lt;gryphon#iaehv,nl&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00003" HREF="msg00003.html">[MUD-Dev] Info about different skill systems</A></STRONG>
<UL><LI><EM>From:</EM> Emil Eifrem &lt;emil#prophecy,lu&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00082.html">[MUD-Dev] Keegan's MUD Tree</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00084.html">[MUD-Dev] Re: [RRE]MediaMOO annual birthday symposia: 1/20</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00003.html">[MUD-Dev] Info about different skill systems</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00094.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00083"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00083"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00040" HREF="msg00040.html">[MUD-Dev] Re: Info about different skill systems</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 04 Jan 1999, 20:38 GMT
<LI><strong><A NAME="00023" HREF="msg00023.html">[MUD-Dev] New features for ScryMUD (Player-run Shops)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 03 Jan 1999, 07:25 GMT
<LI><strong><A NAME="00007" HREF="msg00007.html">[MUD-Dev] ADMIN: Resends and possible duplicates</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sat 02 Jan 1999, 05:38 GMT
<LI><strong><A NAME="00003" HREF="msg00003.html">[MUD-Dev] Info about different skill systems</A></strong>, 
Emil Eifrem <a href="mailto:emil#prophecy,lu">emil#prophecy,lu</a>, Sat 02 Jan 1999, 02:21 GMT
<UL>
<LI><strong><A NAME="00083" HREF="msg00083.html">[MUD-Dev] Intelligent WebGlimpse archive searching at Kanga.Nu (was Re: [MUD-Dev] Info about different skill systems)</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 07 Jan 1999, 11:29 GMT
<UL>
<LI><strong><A NAME="00094" HREF="msg00094.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></strong>, 
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Fri 08 Jan 1999, 22:02 GMT
<UL>
<LI><strong><A NAME="00096" HREF="msg00096.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></strong>, 
Dominic J. Eidson <a href="mailto:sauron#the-infinite,org">sauron#the-infinite,org</a>, Fri 08 Jan 1999, 23:44 GMT
</LI>
<LI><strong><A NAME="00099" HREF="msg00099.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Sat 09 Jan 1999, 08:24 GMT
</LI>
<LI><strong><A NAME="00101" HREF="msg00101.html">[MUD-Dev] Re: Intelligent WebGlimpse archive searching at Kanga.Nu</A></strong>, 
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Sat 09 Jan 1999, 23:06 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>