Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: double@taxe11.tao.dec.com (Double Chiang)
Subject: FAQ's question - rename file name from lower to upper
Date: 1995/10/12	[thread overview]
Message-ID: <45iln8$3tc@usenet.pa.dec.com> (raw)

Hi,

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.




             reply	other threads:[~1995-10-12  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-12  4:00 Double Chiang [this message]
1995-10-13  4:00 ` FAQ's question - rename file name from lower to upper Walter Karig
1995-10-13  4:00 ` Mark Bartelt
1995-10-13  4:00 ` Bassirou Bah
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox