From: "Zane H. Healy" Subject: 'grep' equivalent? Newsgroups: alt.sys.pdp10 Organization: Aracnet User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.19 (i686)) Lines: 7 Message-ID: X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Mon, 19 Nov 2001 18:43:44 EST Date: Mon, 19 Nov 2001 23:43:44 GMT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.tesion.net!news.belwue.de!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!HSNX.atgi.net!sjcppf01!e420r-sjo4.usenetserver.com!usenetserver.com!sjcpnn01.usenetserver.com.POSTED!not-for-mail Xref: chonsp.franklin.ch alt.sys.pdp10:7710 What would an equivalent to the UNIX 'grep' or the OpenVMS 'search' command be? I keep wanting to search through a bunch of files for a text string, but I'm not sure how to do that under TOPS-10 or TOPS-20. Is there a DECUS utility for this? Zane ###### From: "Douglas H. Quebbeman" Newsgroups: alt.sys.pdp10 References: Subject: Re: 'grep' equivalent? Date: Tue, 20 Nov 2001 06:25:58 -0500 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 204.250.0.238 X-Original-NNTP-Posting-Host: 204.250.0.238 Message-ID: <3bfa3dc7$1_1@news.iglou.com> X-Trace: news.iglou.com 1006255559 204.250.0.238 (20 Nov 2001 06:25:59 -0500) X-Authenticated-User: dougq X-Original-NNTP-Posting-Host: 204.250.0.238 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed.nextra.ch!news.nextra.ch!nextra.at!newsfeed4.cidera.com!newsfeed1.cidera.com!Cidera!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!wn3feed!worldnet.att.net!198.6.0.7!uunet!ash.uu.net!news.iglou.com Xref: chonsp.franklin.ch alt.sys.pdp10:7713 "Zane H. Healy" wrote in message news:QOgK7.268893$Lg.12694008@sjcpnn01.usenetserver.com... > What would an equivalent to the UNIX 'grep' or the OpenVMS 'search' command > be? I keep wanting to search through a bunch of files for a text string, > but I'm not sure how to do that under TOPS-10 or TOPS-20. Is there a DECUS > utility for this? Yes- DECUS GREP.C. Don't know which tape it's on, tho... and might be in the PDP-11 DECUS stuff. I ported it to DOS years ago and still use it. I suppose you'll have to compile it with KCC for the tens; does KCC run under TOPS-10, or only under TOPS-20? -dq ###### From: Rich Alderson Newsgroups: alt.sys.pdp10 Subject: Re: 'grep' equivalent? Date: 20 Nov 2001 15:44:15 -0500 Organization: Systems Administration, XKL LLC, Redmond WA 98052 Lines: 13 Sender: alderson+news@panix1.panix.com Message-ID: References: NNTP-Posting-Host: panix1.panix.com X-Trace: news.panix.com 1006289055 26073 166.84.1.1 (20 Nov 2001 20:44:15 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: 20 Nov 2001 20:44:15 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newscore.univie.ac.at!howland.erols.net!bloom-beacon.mit.edu!panix!news.panix.com!not-for-mail Xref: chonsp.franklin.ch alt.sys.pdp10:7719 "Zane H. Healy" writes: > What would an equivalent to the UNIX 'grep' or the OpenVMS 'search' command > be? I keep wanting to search through a bunch of files for a text string, > but I'm not sure how to do that under TOPS-10 or TOPS-20. Is there a DECUS > utility for this? The usual tool on Tops-20 was XSEARCH, a SAIL program. I suspect it made its way to a DECUS tape long ago. -- Rich Alderson alderson+news@panix.com "You get what anybody gets. You get a lifetime." --Death, of the Endless ###### From: klh@panix.com (Ken Harrenstien) Newsgroups: alt.sys.pdp10 Subject: Re: 'grep' equivalent? Date: 21 Nov 2001 01:19:55 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 26 Message-ID: <9tfh2b$2e7$1@panix3.panix.com> References: <3bfa3dc7$1_1@news.iglou.com> NNTP-Posting-Host: panix3.panix.com X-Trace: news.panix.com 1006323596 7041 166.84.1.3 (21 Nov 2001 06:19:56 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: 21 Nov 2001 06:19:56 GMT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!enews.sgi.com!newsfeed.mathworks.com!panix!news.panix.com!panix3.panix.com!not-for-mail Xref: chonsp.franklin.ch alt.sys.pdp10:7733 In article <3bfa3dc7$1_1@news.iglou.com>, Douglas H. Quebbeman wrote: >"Zane H. Healy" wrote in message >news:QOgK7.268893$Lg.12694008@sjcpnn01.usenetserver.com... >> What would an equivalent to the UNIX 'grep' or the OpenVMS 'search' >command >> be? I keep wanting to search through a bunch of files for a text string, >> but I'm not sure how to do that under TOPS-10 or TOPS-20. Is there a >DECUS >> utility for this? > >Yes- DECUS GREP.C. Don't know which tape it's on, tho... and might be >in the PDP-11 DECUS stuff. > >I ported it to DOS years ago and still use it. I suppose you'll have to >compile it with KCC for the tens; does KCC run under TOPS-10, or >only under TOPS-20? KCC does run under TOPS-10, or at least some variants thereof. I ported it to CompuServe's systems where it was used in their software migration efforts. For kicks I once compiled the old Unix grep.c on TOPS-20. It worked, but XSEARCH was much faster. --Ken