<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=GREP_Package</id>
	<title>GREP Package - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=GREP_Package"/>
	<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=GREP_Package&amp;action=history"/>
	<updated>2026-06-04T10:14:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=GREP_Package&amp;diff=20705&amp;oldid=prev</id>
		<title>Zooka: initial creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=GREP_Package&amp;diff=20705&amp;oldid=prev"/>
		<updated>2024-01-03T04:43:25Z</updated>

		<summary type="html">&lt;p&gt;initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Mudlet Package Listing]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 70%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 10%&amp;quot; | Game || Non-mud specific&lt;br /&gt;
|-&lt;br /&gt;
| By || &amp;lt;!-- handle|alias|name --&amp;gt; [[User:Demonnic|Demonnic]]&lt;br /&gt;
|-&lt;br /&gt;
| Download || &amp;lt;!--wiki page link|download link|webpage link --&amp;gt; [https://github.com/demonnic/mudlet-grep/releases/latest Github]&lt;br /&gt;
|-&lt;br /&gt;
| Dependencies || &amp;lt;!-- any package dependencies|mudlet version requirements --&amp;gt; Mudlet 4.17&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Description =  &lt;br /&gt;
&amp;lt;!-- A description about what your script accomplishes. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This alias (and the functions which support it) tries to emulate the `grep` command from *NIX systems, in that it will search your buffer for all the lines which match a pattern and display them on the screen for you.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&amp;lt;!-- include function parameters and some usage details (either screenshots or &amp;lt;code&amp;gt;preformatted script output&amp;lt;/code&amp;gt; so players can understand how to use your script --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  grep &amp;lt;regex pattern to search for&amp;gt; &amp;lt;optional page of the results to display&amp;gt;&lt;br /&gt;
:This alias will search the main console buffer for all lines which match the pattern provided. It reads the buffer after it has been word wrapped, which means that it evaluates each line as it appears separately, rather than how it came in from the game originally.&lt;br /&gt;
&lt;br /&gt;
See also: &amp;lt;!-- forum link to discuss|any further relevant information --&amp;gt;  [https://forums.mudlet.org/viewtopic.php?f=6&amp;amp;t=23114 Mudlet Forums]&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Usage details. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  grep \d+ gold coins&lt;br /&gt;
:searches the buffer for any line with a number of gold coins on it and prints the outcome.&lt;br /&gt;
  grep (?i)goblin 2&lt;br /&gt;
:searches the buffer for goblin, ignoring case sensitivity (will match goblin or GoBLin), and print page 2 if there&amp;#039;s more than 1 page.&lt;br /&gt;
&lt;br /&gt;
See also: &amp;lt;!-- forum link to discuss|any further relevant information --&amp;gt;  [https://forums.mudlet.org/download/file.php?id=2087&amp;amp;mode=view Screenshot]&lt;/div&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
</feed>