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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8d08fdfceaafadda X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!m26g2000yqb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Software for renaming a whole hierarchy of packages? Date: Fri, 18 Dec 2009 07:15:32 -0800 (PST) Organization: http://groups.google.com Message-ID: <9c6df29e-0bb8-4125-be83-48ff748104cc@m26g2000yqb.googlegroups.com> References: <8629e45a-b954-434d-8251-45f46cf1f6a2@b2g2000yqi.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1261149332 20667 127.0.0.1 (18 Dec 2009 15:15:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Dec 2009 15:15:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m26g2000yqb.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8421 Date: 2009-12-18T07:15:32-08:00 List-Id: mockturtle wrote on comp.lang.ada: > Dear.all, > I have the following problem: =A0I have a (quite large) hierarchy of > packages (with package root, say, FOO) that I modified to suit my > needs. =A0Since now the two hierarchies are quite different, I would > like to rename the root of the modified version, both to avoid clashes > and to give a more meaningful name (say, BOO. =A0More meaningful, isn't > it?:-) to the new one. =A0This means that I have to change every > FOO. into BOO.. =A0I could do this by hand, but it > is boring and error-prone, I could do this with sed, but I could mess > everything up. =A0Are you aware of some tool (maybe ASIS based?) that > could help me in this? > > Thank you in advance for your help. Adasubst by Jean-Pierre Rosen: http://www.adalog.fr/compo2.htm#adasubst -- Ludovic Brenta.