davidr@searchtech.com (David Resnick) (05/01/91)
Does anyone out there know of a grep utility for the Mac? I know there are some folks that are porting their Mac code to UNIX machines just to use grep and other utilities, but perhaps someone has an MPW tool that does greping of some sort (e.g., searching through files for a word or phrase)? Thanks in advance! -- David E. Resnick davidr@srchtec.uucp (registered) search technology, inc. davidr@searchtech.com 4725 peachtree corners cir., suite 200 {uupsi,stiatl}!srchtec!davidr norcross, georgia 30092 (404) 441-1457
ech@cbnewsk.att.com (ned.horvath) (05/02/91)
From article <1991May1.131857.490@searchtech.com>, by davidr@searchtech.com (David Resnick): > Does anyone out there know of a grep utility for the Mac? I know there > are some folks that are porting their Mac code to UNIX machines just to > use grep and other utilities, but perhaps someone has an MPW tool that > does greping of some sort (e.g., searching through files for a word or > phrase)? Thanks in advance! Uh. If you have MPW, you have 'search,' which is the moral equivalent of grep. You also have streamedit (sed-like), sort, and analogs for most of the more useful Unix tools. Most unix-heads climb into MPW and get real comfortable inside of an hour or two (after posting the special- character equivalences over the screen, and putting a few aliases in). If you don't have MPW, there's GoFer, which is grep for lotsa text-like objects (and comes free when you buy DiskTop). A more expensive option is On Location, which maintains an index of textoids. OL is fast, but costly in terms of disk space. Hope that helps. =Ned Horvath= ehorvath@attmail.com
rgonzal@elbereth.rutgers.edu (Saul) (05/06/91)
Let me add that both Think C's editor and the shareware stand-alone editor "Edit II" contain a grep feature, which presumably works similarly to the Unix one. Edit II is from Kenneth Seah, PO Box 8565, Austin, TX 78713-8565 (GEnie: K.SEAH). This editor also has some other nice features like go to line #, multi-file search (which I can't seem to get to work), etc. -Ralph Gonzalez (rgonzal@elbereth.rutgers.edu)