Delete abcdefghijklmnopqrstuvwxyz

Geoff Keating geoffk@geoffk.org
Wed Apr 10 10:44:00 GMT 2002


> From: Nick Clifton <nickc@redhat.com>
> Date: 10 Apr 2002 09:21:01 +0100

>   I became fed up with the ar test in the binutils subdirectory
>   leaving files called abcdefghijklmnopqrstuvwxyz1 and
>   abcdefghijklmnopqrstuvwxyz2 lying around afterwords, so I have
>   applied the patch below.

This will work, but it's better to use 'file delete $file1 $file2'.
'exec' can sometimes cause problems, and is always less efficient.

> +     exec rm -f $file1 $file2

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>



More information about the Binutils mailing list