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 17:17:59 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!sjc-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail Message-ID: <3C33B0EE.E815488E@ins-msi.com> From: Jeff Campbell Organization: INS-MSI Inc. X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en 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 Date: Thu, 03 Jan 2002 01:53:48 GMT NNTP-Posting-Host: 209.190.8.235 X-Trace: news 1010022828 209.190.8.235 (Wed, 02 Jan 2002 20:53:48 EST) NNTP-Posting-Date: Wed, 02 Jan 2002 20:53:48 EST Xref: archiver1.google.com comp.os.vms:57927 alt.sys.pdp10:9002 comp.sys.dec:10815 Mark Crispin wrote: > > On 2 Jan 2002, Bob Koehler wrote: > ? So how do I do the following in you favorite shell (yes, I do know > ? two painfull answers)? > ? rename *.a *.b > > This can be done with a small shell script, but yes, it is more complex on > UNIX than it is on DOS, VMS, or TOPS-10/20. > > On the other hand, unlike DOS, VMS, or TOPS-10/20, there's hardly any > reason to do it on UNIX. UNIX filenames are not restricted to the > familiar file.extension form; the "." character is just an ordinary > character in a file name. Equally important, subdirectories are much > easier to use in UNIX than in VMS or TOPS-10/20. Don't know TOPS-!0/20... but ./foo/ [.foo] /foo/bar/ [foo.bar] ../foo/ [-.foo] [...] no equivalent in unix Doesn't look "much easier" to me. Even in the case where the shell preprocesses the file name so that cd somedir works without the delimiters, a user's smart SET DEFAULT processor will likewise validate the target file name as actually being a directory, SOMEDIR.DIR, and allow sd somedir to work as expected. Of course ls somedir is 3 characters less than ls [.somedir] I guess progress is made by lazy people. 8-) > > 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. Typically, even after they are > provided with a prepackaged script to do that rename, they end up not > using it since it turns out that doing things the UNIX way is so much > easier. > > You can see the same difference with DOS vs. NT. Even though the command > interface is similar and NT has the DOS/VMS/TOPS-10/TOPS-20 type of > rename, people hardly ever use it since NT filenames work like UNIX. > > -- Mark -- > > http://staff.washington.edu/mrc > Science does not emerge from voting, party politics, or public debate. Jeff n8wxs@arrl.net