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-08 19:16:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.baileynm.com!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 9 Jan 2002 02:48:58 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C3B3291.150B997F@aaa.com> <00A07BC5.AE04697A@SSRL04.SLAC.STANFORD.EDU> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1010544538 57685 10.0.0.43 (9 Jan 2002 02:48:58 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 9 Jan 2002 02:48:58 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:59265 alt.sys.pdp10:9312 comp.sys.dec:11237 In article <00A07BC5.AE04697A@SSRL04.SLAC.STANFORD.EDU>, Alan Winston - SSRL Admin Cmptg Mgr wrote: >$ START: >$ CFILE = F$SEARCH ("*.c;*",1) >$ IF (CFILE .EQS. "") THEN EXIT ! didn't find any more >$ DELETEX/NOCONFIRM 'CFILE >$ ! If you want to get only the corresponding .x version for each .c >$ ! version, the command below will do it; otherwise do >$ ! ".X;*" and leave off the second F$PARSE >$ XFILE = F$PARSE(CFILE,,,"NAME") + ".X" + F$PARSE(CFILE,,,"VERSION") >$ XFILE = F$SEARCH (XFILE,2) >$ IF (XFILE .EQS. "") THEN GOTO START >$ DELETEX/NOCONFIRM 'XFILE >$ GOTO START for i in *.c do rm "./$i" j="`basename "$i" .c`.x" if [ -f "./$j"] then rm "./$j" fi done -- Rev. Peter da Silva, ULC. WWFD? "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)