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-09 06:46:19 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 14:38:48 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1010587128 22274 10.0.0.43 (9 Jan 2002 14:38:48 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 9 Jan 2002 14:38:48 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:59373 alt.sys.pdp10:9351 comp.sys.dec:11273 In article , Bob Koehler wrote: >> But there is a way to ensure that something is a filename: qualify it with >> a path. > What's in a path but filenames? Is "/a b" one file or two? "fred" is a filename. "./fred" or /home/peter/fred" are qualified by paths. Whether "/a b" is one file or two depends on whether the quotes are part of the example or not. ls "/a b" and ls /a b obviously refer to different files. But what I'm talking about is the point of view of the script author. The string: "./$filename" will always pass a single atomic argument to the program from any UNIX shell (though apparently Perl doesn't always make that guarantee, which really boggles me), and will not be interpreted as an option by any UNIX software I know of. And that's a lot, I've used some truly oddball UNIX-inspired systems over the past 20 years. It *would* cause a problem on Cromemco's multi-user CP/M-compatible system "Cromix" when running Microsoft's "M80" CP/M-based macro assembler, which used "/" as an option character. Cromix supported VMS-style logical names to get around this. For example, you would typically have your libraries in "/usr/lib", so to pass that to Microsoft's linker you'd do this: assign M: /usr/lib l80 /L=M: (It's been 20 years since I used L80, sorry if I got the syntax wrong) I wish Microsoft had paid attention to Cromix. A super-root with assigns instead of drive letters worked a lot better than using "\" for path separators when you were trying (as Microsoft was at the time of DOS 2) to merge Xenix and MS-DOS. But Cromix is rather a special case, since it had to deal with legacy DEC-style syntax in a UNIX-style system. I rather liked it. I do like the idea of VMS-style logicals as an enhancement. -- Rev. Peter da Silva, ULC. WWFD? "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)