From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-02 06:28:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!micro-heart-of-gold.mit.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!newsfeed.onecall.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!young_r From: young_r@encompasserve.org (Rob Young) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 2 Jan 2002 08:28:37 -0600 Organization: Encompasserve Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2E96AF.3AADBED8@fsi.net> <3C2FCB71.7815AB6A@bartek.dontspamme.net> <87vgenp94g.fsf@prep.synonet.com> <3C3272A8.43DCCDFC@bartek.dontspamme.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1009981722 9170 192.135.80.34 (2 Jan 2002 14:28:42 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 2 Jan 2002 14:28:42 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:57760 alt.sys.pdp10:8968 comp.sys.dec:10757 In article <3C3272A8.43DCCDFC@bartek.dontspamme.net>, Arthur Krewat writes: > Paul Repacholi wrote: >> > I can't count the number of times I've run into that limit with >> > modern systems. HP/UX, AIX, Solaris, you name it - all within the >> > last year, with current versions. >> >> I just hit it this evening. Looking for a post... Grepping the news dir >> is a total loss. Oh well, time to move a copy of them all to VMS! > > It would be quicker to "find . -type f -exec grep -li {} \;" > I think you missed where he mentioned he wanted to search the prior week's postings, i.e.: $ search/sinc=today-7-0:0: [...]*.*;* "string_goes_here" Common use of built in /before /since qualifiers for most commands: $ delete/before=today-7-0:0: *.log;* However, always corner cases and strengths on ksh, *sh... Porting scripts Unix->DCL in 1993 I came across this: SND_CNT=`ls ${SIFFILE}/${FLPREFX}[0-1][0-9][0-3][0-9]${FLSUFFX} | wc -l` egrep "BUSY|NO CARRIER|NO DIAL|CALL FAILED" ${SLOG} | sort -u Where I wished VMS had a pipe command to begin to help porting some of the nastier shell features. One might argue the more common usage of searching or deleting by date/time is a great advantage DCL versus the shells for day to day... but the shells with all the bits and pieces provide greater flexibility. Rob