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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,53cc6213b7c51882 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-17 22:31:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!teaser.fr!enst.fr!not-for-mail From: "Grein, Christoph" Newsgroups: comp.lang.ada Subject: Re: A standardized pathnames package for Ada 2005? Date: Wed, 18 Dec 2002 07:23:48 +0100 (MET) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: avanie.enst.fr 1040193063 46989 137.194.161.2 (18 Dec 2002 06:31:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 18 Dec 2002 06:31:03 +0000 (UTC) Return-Path: X-Authentication-Warning: mail.eurocopter.com: uucp set sender to using -f Content-MD5: 16m/vUuSxL+wk3s7MFkgaQ== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: "Grein, Christoph" List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:32002 Date: 2002-12-18T07:23:48+01:00 > Is there any work on / interest in a package to make it easy to synthesize > and analyze compound (path) names? > > This crops up a lot, not only as Windows or Unix filenames, > but with things like Tcl widget names. > > It might usefully be generic, on parameters such as the max. length of a > nodename, the max. length of the full pathname, the nodename separator, > whether there is a distinguished root nodename and its separator, etc. > > Should it handle little-endian pathnames, with the root at the right, > like Internet domain names? You could use a package like mine you can find on my homepage http://home.T-Online.de/home/Christ-Usch.Grein/Ada Look for Split'n'Join. Warning! The implementation is not optimized for efficiency. I proposed it to Ada-Comment, but it hasn't found support. It was in fact inspired by TCL/TK and Perl.