https://simson.net/wiki/index.php?title=Aigrep&feed=atom&action=historyAigrep - Revision history2024-03-28T20:44:41ZRevision history for this page on the wikiMediaWiki 1.37.1https://simson.net/wiki/index.php?title=Aigrep&diff=269&oldid=prevSimson: New page: <pre> NAME aigrep - search a file for an idea SYNOPSIS aigrep [ option ] ... idea [ file ] ... DESCRIPTION The aigrep command will search the input files (standard i...2009-06-01T22:46:45Z<p>New page: <pre> NAME aigrep - search a file for an idea SYNOPSIS aigrep [ option ] ... idea [ file ] ... DESCRIPTION The aigrep command will search the input files (standard i...</p>
<p><b>New page</b></p><div><pre><br />
NAME<br />
aigrep - search a file for an idea<br />
<br />
SYNOPSIS<br />
aigrep [ option ] ... idea [ file ] ...<br />
<br />
DESCRIPTION<br />
The aigrep command will search the input files (standard<br />
input default) for lines containing the idea. Normally, each<br />
line found is copied to the standard output. Aigrep ideas<br />
are limited to English; the program uses a compact<br />
nondeterministic algorithm. The following options are recognized.<br />
<br />
-v All ideas but those matching are printed.<br />
<br />
-x (Exact) Only lines containing exactly the idea and nothing<br />
else are printed.<br />
<br />
-c Only a count of matching lines is printed.<br />
<br />
-l The names of files with matching lines are listed<br />
(once) separated by newlines.<br />
<br />
-n Each line is preceded by its relative line number in<br />
the file.<br />
<br />
-b Each line is preceded by the block number on which it<br />
was found. This is sometimes useful in locating disk<br />
block numbers by context.<br />
<br />
-i The case of letters is ignored in making comparisons -<br />
that is, upper and lower case are considered identical.<br />
This applies to grep and fgrep only.<br />
<br />
-s Silent mode. Nothing is printed (except error mes-<br />
sages). This is useful for checking the error status.<br />
<br />
-e idea<br />
Same as a simple idea argument, but useful when<br />
the idea begins with a -.<br />
<br />
-f file<br />
The idea is taken from the file.<br />
<br />
In all cases the file name is shown if there is more than<br />
one input file. Care should be taken when specifying ideas<br />
containing words with pronouns, as they are sometimes susceptable<br />
to multiple interpertations. It is safest to use only proper<br />
nouns in the idea expression.<br />
<br />
<br />
SEE ALSO<br />
doctor(1), lisp(1)<br />
<br />
DIAGNOSTICS<br />
Exit status is 0 if any matches are found, 1 if none, 2 for<br />
syntax errors or inaccessible files.<br />
</pre></div>Simson