again un-tried
foreach f d [
if all[
equal? (first s: to-string f) #"~"
equal? (skip tail s -4) ".tmp"
][delete f]
]
On Thu, 18 Apr 2002, COFFRE Richard FTO wrote:
> Hi,
>
> I need to delete files like ~toto.tmp
>
> I try delete %~*.tmp but it fails
>
> Any ideas
>
> TIA
>
> Richard Coffre
> France Telecom Orbiscom
> T�l. : 01 47 61 46 28
> "Share what you know, learn what you don't"
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.