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 18:50:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hub.siol.net!zur.uu.net!ash.uu.net!spool0900.news.uu.net!reader0900.news.uu.net!not-for-mail Message-ID: <3C338089.1C12E6FA@trailing-edge.com> Date: Wed, 02 Jan 2002 21:50:01 -0400 From: Tim Shoppa Organization: Trailing Edge Technology X-Mailer: Mozilla 3.03Gold (X11; I; OpenVMS V7.2 AlphaServer 1200 5/533 4MB) MIME-Version: 1.0 Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <0ojk0a.76k1.ln@lucifer-ec0> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.73.218.130 X-Trace: 1010026199 reader0.ash.ops.us.uu.net 10239 63.73.218.130 Xref: archiver1.google.com comp.os.vms:57946 alt.sys.pdp10:9006 comp.sys.dec:10823 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. Tim.