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: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-02 21:19:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!iquest!news1.iquest.net!not-for-mail From: "JD" Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <0ojk0a.76k1.ln@lucifer-ec0> <3C338089.1C12E6FA@trailing-edge.com> Subject: Re: historical evidence of what went wrong at DEC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <4QRY7.606$Pe5.142529@news1.iquest.net> Date: Thu, 3 Jan 2002 00:24:52 -0500 NNTP-Posting-Host: 198.70.149.90 X-Complaints-To: news-abuse@iquest.net X-Trace: news1.iquest.net 1010035072 198.70.149.90 (Thu, 03 Jan 2002 00:17:52 EST) NNTP-Posting-Date: Thu, 03 Jan 2002 00:17:52 EST Xref: archiver1.google.com comp.os.vms:57968 alt.sys.pdp10:9007 comp.sys.dec:10833 "Tim Shoppa" wrote in message news:3C338089.1C12E6FA@trailing-edge.com... > Mark Crispin wrote: > > Simply put, there are other (and better) ways on UNIX to accomplish what > > is intended by that rename. The only people who ever ask how to do that > > type of rename are people who come from environments which use a strict > > file.extension naming and haven't yet comprehended that there are better > > ways to do what the underlying intention. > > Unfortunately, while the "pure core" of Unix doesn't care what > an extension is, most all the tools - even really basic tools like > the C compiler - do care: > > $ cat > hello.c > main() { printf("Hello world\n"); } > $ cc -o hello hello.c > $ ./hello > Hello world > $ mv hello.c hello.somethingelse > $ cc -o hello hello.somethingelse > /usr/bin/ld:hello.somethingelse: file format not recognized; treating as > linkert > /usr/bin/ld:hello.somethingelse:1: parse error > collect2: ld returned 1 exit status > > Yes, I know that there is a flag that tells the C compiler to > treat the filename as a C source code file no matter what it's > extension. And that it's not really a flag to the C compiler but > to the compiler/loader driver. But my point remains: a Unix > programmer learns on day one that file extensions *do* matter to > all the most interesting Unix tools. > But in UNIX, the '.c' isn't really a filename extension like on DEC boxes, but is part of a naming convention. On UNIX boxes, for example, you can have a 'C' program 'foo.x.c'. John