On Wed, Oct 01, 2003 at 01:10:43PM +1200, Tim Wright wrote:

> for i in *.txt ; do mv "$i" "${i%txt}old" ; done
> (bash only)

I think you'll find that particular parameter substitution is part of
POSIX, i.e. all POSIX-compatible shells support it.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to