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-03 17:16:11 PST Sender: eric@ruckus.brouhaha.com From: Eric Smith 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> <3C338089.1C12E6FA@trailing-edge.com> Organization: Eric Conspiracy Secret Labs X-Eric-Conspiracy: There is no conspiracy. Date: 03 Jan 2002 17:16:06 -0800 Message-ID: User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: ruckus.brouhaha.com X-Trace: 3 Jan 2002 17:25:59 -0800, ruckus.brouhaha.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.spies.com!ruckus.brouhaha.com Xref: archiver1.google.com comp.os.vms:58193 alt.sys.pdp10:9056 comp.sys.dec:10914 peter@taronga.com (Peter da Silva) writes: > So how often have you needed to rename ALL your ".somethingelse" files > to ".c"? Ever? When was the last time that you needed to rename a whole > directory of files and the translation was as simple as one extension to > another? I've occasionally wanted to rename a bunch of ".htm" files to the correct extension, ".html". It seems easy enough on those rare occasions to say: for f in *.htm; do mv $f name ${f}l; done And if you really had to change to an entirely different extension, e.g., from ".xxx" to ".yyy": for f in *.xxx; do mv $f `basename $f .xxx`.yyy; done But in general I completely agree with you. It's not something I often need, and it doesn't bother me that the shell doesn't have a built in command to do exactly that. If I *did* for some reason need that a lot of the time, I'd write a small script. And I *still* would be happy that it wasn't a built in part of the shell.