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

Matthew Dillon dillon at apollo.backplane.com
Tue Feb 12 10:20:46 PST 2008


:
:> 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>





More information about the Kernel mailing list