> try this in bash:
>
> for f in *.Z
> do
> noext=$(echo $f | sed 's/\(.*\)\.Z$/\1/')
> mv $f $noext.z
> done
pretty good, you could also do this:
noext=$(basename $f .z)
mv $f $noext.Z
> If you're using some other kind of bourne-like shell, you may
> have to replace this syntax:
>
> var=$(echo ...)
>
> with this one:
>
> var=`echo ...`
ditto for my example
_____________________ _ _ _________________________
Michael Rice |_| Collective |_| http://www.colltech.com
[EMAIL PROTECTED] |_ Technologies _| 8007598888/8019292 pager
Consultant [] [] "The Power Of Many Minds"
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]