Thanks, Peter.

Madhav

Madhav M. Deshpande
Professor Emeritus, Sanskrit and Linguistics
University of Michigan, Ann Arbor, Michigan, USA
Senior Fellow, Oxford Center for Hindu Studies
Adjunct Professor, National Institute of Advanced Studies, Bangalore, India

[Residence: Campbell, California, USA]


On Fri, Sep 17, 2021 at 4:13 PM Peter Wyzlic <pwyzlic@uni-bonn.de> wrote:
Am 18.09.2021 um 00:22 schrieb Madhav Deshpande via INDOLOGY <indology@list.indology.info>:

Thanks everyone for informing me about the use and benefits of GREP. One last question. Is GREP a downloadable software that will work on Mac?

You already have it. 

The program is in the Unix part of the system. Go to Spotlight Finder (generally opened by Command + Space), then type in "Terminal“ and take the offered program icon or hit the Launchpad icon and type in "Terminal“. Grep is one of the base Unix commands that is invoked in the text terminal. 

Base syntax: grep "search pattern“ filename (like this: link: <https://i.postimg.cc/zBry4r9t/screenshot-01.png>):

The program gives out lines that match the search pattern as simple text. Like this : <https://i.postimg.cc/Fs7HWzYF/screenshot-02.png>
To get the command line options, type in "man grep“ and hit enter.

Text editors like BBedit give this a more amiable user interface, of course.

All the best
Peter Wyzlic

(in case the screenshots do not pass the mailing list server, I provided links).
--
Institut für Orient- und Asienwissenschaften
Bibliothek
Universität Bonn
Brühler Straße 7
53119 Bonn