From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:df44:: with SMTP id g4mr3945821ioq.0.1547300072424; Sat, 12 Jan 2019 05:34:32 -0800 (PST) X-Received: by 2002:aca:4c97:: with SMTP id z145mr46078oia.2.1547300072240; Sat, 12 Jan 2019 05:34:32 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!2.eu.feeder.erje.net!4.us.feeder.erje.net!feeder.erje.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k10no187008itk.0!news-out.google.com!v71ni259ita.0!nntp.google.com!k10no187002itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 12 Jan 2019 05:34:31 -0800 (PST) In-Reply-To: <8c141d8a-49ca-4732-9939-edaf17750fe1@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:1206:451b:38f0:7d78:e8aa:45cc:cf2; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1206:451b:38f0:7d78:e8aa:45cc:cf2 References: <8c141d8a-49ca-4732-9939-edaf17750fe1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <98f3a46c-080a-4705-aeba-f4e945087602@googlegroups.com> Subject: Re: GNAT Metric and RTL files ? From: gautier_niouzes@hotmail.com Injection-Date: Sat, 12 Jan 2019 13:34:32 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55269 Date: 2019-01-12T05:34:31-08:00 List-Id: In the meantime I've found a workaround by using the gnathtml.pl script. I'= ve customized the script a bit by removing the H1 headers. The result is a = few hundreds of HTML files with the sources of units actually used: the scr= ipt does find all dependencies, recursively, through the .ali files - inclu= ding the RTL. Then I group the HTML files together, convert them back to te= xt files, pass them through Adalog's Normalize tool for removing comments a= nd empty lines, count lines with the wc command, and the job is done.