From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,48101cd3895f2777 X-Google-Attributes: gidfee84,public From: sysmark@helios.physics.utoronto.ca (Mark Bartelt) Subject: Re: FAQ's question - rename file name from lower to upper Date: 1995/10/13 Message-ID: #1/1 X-Deja-AN: 117503069 sender: news@info.physics.utoronto.ca (System Administrator) references: <45iln8$3tc@usenet.pa.dec.com> organization: Canadian Institute for Theoretical Astrophysics reply-to: mark@cita.toronto.edu newsgroups: comp.unix.osf.osf1 [ Double Chiang ] | I read from FAQ for how to rename a bunch file from lower to upper, | it said you should write a script. like following. | | foreach f (*) | mv $f 'echo $f | tr '[a-z]' '[A-Z]'' | end | | but when I tried to execute this script, the shell complain about | mv: . No match. | | What's wrong? my shell is tcsh. Thanks in advance. Either the FAQ has a misprint, or perhaps you just miscopied. The mv $f 'echo $f | tr '[a-z]' '[A-Z]'' should be mv $f `echo $f | tr '[a-z]' '[A-Z]'` Mark Bartelt 416/978-5619 Canadian Institute for mark@cita.toronto.edu Theoretical Astrophysics mark@cita.utoronto.ca "Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial