NotaBene Mailing List 1999

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Orbis-like program



just an additional note to John E Haynes' question about a
Orbis-like program. A very powerful engine is GREP, a Unix tool
that was ported to Dos years ago. The best implementation I know
is AGREP, than can be easily adapted to one's needs -- runs in a
Dos shell under WIN32, it won't work under plain Dos. See

http://www.geocities.com/SiliconValley/Lakes/4889/agrep.html

Both GREP and AGREP are free. The programs are command line. You
can easily write a bunch of scripts (file batches) for what you
need. Example:

grep -id 'Britain' /nb4/orbis/*.dat

will search 'Britain' in all the files under that dir and subdirs
(option d) and will not care about capital letters (option i).
Options are about 20 and can be combined in any way. The results
can be just a list of files or the number or lines you want.

I like it now because I'm using NB4.5 under Linux. The WP works
fine, better than under Win9x because it sees a lot of memory
(the Dos emulation starts with 611 k free!!!) but the program
hangs if I try to use Orbis.

If someone is interested I could try to add NB internal calls to
GREP in order to substitute Orbis for those who have problems with
it. My file batches are now too limited since they reflect the
structure of my disk now.

Best regards and a Merry Christmas to you all.
g.

---------------------------------------------------------
Guido Milanese                  email gmilanese
Vocal Ensemble "Ars Antiqua"
Salita del Passero 11, I-16126 Genova GE, Italy
http://web.mclink.it/arsantiqua
* Sed nomini tuo da gloriam *                MMMR 4.70reg



Main Index | Thread Index