in reply to I agree, honest.
in thread List non-matching files

And it freaks badly if you have any filenames with whitespace in them, especially a newline. This same thing in Perl works just fine in one process:
#!/usr/bin/perl opendir DOT, "."; unlink grep { -f and not /\.html$/ } readdir DOT;

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE^2: I agree, honest.
by gryng (Hermit) on Aug 20, 2000 at 22:50 UTC
    Very true :) , kudos.