Michael Pastore wrote at Mon, 15 Jul 2002 14:48:12 +0200:
> I am trying to delete some files in a directory, but I do not know their
>names...just ending
> extension...
>
> I have tried:
> One way:
>
> unlink <*.dat>;
> unlink <*.p1>;
>
> Another way:
>
> unlink glob(".dat");
> unlink glob(".p1");
>
You got it nearly:
unlink for <*.dat>;
or
unlink for glob("*.dat");
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
