DragonFly kernel List (threaded) for 2008-02
DragonFly BSD
DragonFly kernel List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Bill Hacker <wbh@xxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 19:34:38 +0000

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





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]