Moin,
* Gerhard Meier wrote (2005-03-15 10:00):
>On Mon, Mar 14, 2005 at 08:06:50PM +0100, Mario Holbe wrote:
>> for i in *.ra; do mv -i "$i" "$(echo "$i" | sed -e 's/\.ra$/.rm/')"; done
>
>sed brauchts hier gar nicht:
>
> for i in *.ra; do mv -i "$i" "${i%.ra}.rm"; done
Klappt das auch mit der Bourne Shell?
Thorsten
--
They want to go into the rainforest of human thought and mow the thing down.
- John Perry Barlow
pgpMB2BClYQ3w.pgp
Description: PGP signature

