Globbing (was Re: HAMMER update 10-Feb-2008)

Bill Hacker wbh at conducive.org
Tue Feb 12 11:34:38 PST 2008


Matthew Dillon wrote:
:
:> it's called "|/" here) that works like xargs built-in.
:>=20
:> find . -name "*.c" |/ rm -f "%"
:>=20
    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.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>


All manner of insects have been found preserved in amber, so why not a 
DragonFly?

But they didn't *choose* to be fossilized.

Bill







More information about the Kernel mailing list