Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: A strange behaviour of a File property Date: Mon, 14 Nov 2011 08:18:03 -0500 Organization: A noiseless patient Spider Lines: 36 Message-ID: References: <5980efbc-9010-4145-b886-fe106c5ac2d5@c18g2000yqj.googlegroups.com> <4ebef267$0$290$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 14 Nov 2011 13:18:04 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="HSlJAUb3pGXi3i7ZL/HoAw"; logging-data="23746"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U6Y4fpFwTpsklVpTUaXRB" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: Cancel-Lock: sha1:wQJIPYTMm29m3vYnIt007dS8GQk= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9952 On 11/13/2011 3:50 PM, Andreas Leitgeb wrote: > Eric Sosman wrote: >> Speaking as a person who wrote code that tried to mediate >> between VMS ("structured") file names and Unix ("just glob it") paths, >> I am here to tell you that there are many subtle traps. Version numbers >> inevitably got garbled, if not "in translation" then "in manipulation" >> on the other side of the fence. The fact that the parent directory of >> >> SYS$DISK:[USERS.ERIC.PROJECT]README.TXT;22 >> was >> SYS$DISK:[USERS.ERIC]PROJECT.DIR;1 >> >> baffled innumerable Unixoid programs that thought they could just "take >> everything before the rightmost separator" to get the parent's name. >> Anybody who thinks the mapping is half a day's work has got another >> think coming -- and weeks of unplanned labor, too. I've got the scars. > > I'm still wondering, how this effort was even worth it. In hindsight, you're right. We should have just ditched the VMS port of our product on the grounds that the platform was too ugly and/or baroque and/or expensive and/or unfamiliar. But, alas! We allowed ourselves to be influenced by the market, instead of holding to our ideological purity. The fact that VMS was the second most popular platform for our product (in one quarter it actually took the top spot) caused the bean counters to insist that we support it. Stupid bean counters! > Dinosaur systems [...] Note that Unix is even older than VMS. -- Eric Sosman esosman@ieee-dot-org.invalid