DragonFly kernel List (threaded) for 2008-02
Re: Globbing (was Re: HAMMER update 10-Feb-2008)
Matthew Dillon wrote:
All manner of insects have been found preserved in amber, so why not a
But they didn't *choose* to be fossilized.
:> it's called "|/" here) that works like xargs built-in.
:> find . -name "*.c" |/ rm -f "%"
find . -name "*.fubar" -delete
In anycase, I don't think people quite grasp that there is no solution
to the csh-globbing issue. You could allocate memory dynamically, sure,
and what happens when your glob pattern results in twenty million files?
or a billion files? You sit there twiddling your thumbs for four
hours while csh eats up all the memory on your machine and everything
comes to a grinding stop. It doesn't work.
People need to learn to use find, xargs, awk, etc.