I had an enormous number of replies each with valid methods, too many to
acknowledge individually so a 'global' thankyou. I particularly liked the
interactive approach of
foreach file (Q*)
mv $file $file:s/Q/q/
end
and the piped command
ls -1 Q* | sed '/Q\(.*\)/s//mv Q\1 q\1/' | tcsh
I also received a number of substantial PERL programs which cater for
name mungeing in more general terms. I can forward them to anybody
interested.
I was taken to task for being frustrated in the first place with
observations that the foreach construction was very powerful, and I do
acknowledge this. However, NONE of the solutions is as short as
PIP Q*=q*/re
!!
To all the ancient warriors out there who miss PIP and sympathised with
me: vale!
Stuart McKenzie
Received on Wed Jun 18 1997 - 16:40:30 NZST