[ale] decending dirs with spaces in the path

Danny Cox danscox at mindspring.com
Sat Jan 18 11:10:46 EST 2003


John,

On Fri, 2003-01-17 at 23:06, John Wells wrote:
> find /somedir -print | xargs grep string

	An alternative is:

	find /somedir -print0 | xargs -0 grep string

See "man find" for the nitty gritty on -print0, and "man xargs" for the
same on "-0" (that's dash-zero, not dash-oh BTW).

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list